Add build-base to docker image

This commit is contained in:
Hayden Hughes 2018-09-26 08:17:33 +10:00
parent 44ae4bc959
commit d3facfd7cd
No known key found for this signature in database
GPG Key ID: 3407164B1DD43BE6

View File

@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
FROM golang:1.10-alpine AS build FROM golang:1.10-alpine AS build
RUN apk add --no-cache git RUN apk add --no-cache git build-base
ADD . /go/src/github.com/coreos/clair/ ADD . /go/src/github.com/coreos/clair/
WORKDIR /go/src/github.com/coreos/clair/ WORKDIR /go/src/github.com/coreos/clair/
RUN export CLAIR_VERSION=$(git describe --tag --always --dirty) && \ RUN export CLAIR_VERSION=$(git describe --tag --always --dirty) && \