Files
linuxkit/alpine/packages/vsudd/Dockerfile
Justin Cormack 301e633ad3 Include the Go binary in the hash of the go build base
As this is not installed via apk it was not being included in the
checksum.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-09 15:46:23 +01:00

14 lines
284 B
Docker

FROM mobylinux/alpine-build-go:30067067003d565887d7efe533eba03ed46038d2
RUN mkdir -p /go/src/vsudd
WORKDIR /go/src/vsudd
COPY . /go/src/vsudd/
ARG GOARCH
ARG GOOS
RUN go install --ldflags '-extldflags "-fno-PIC"'
RUN [ -f /go/bin/*/vsudd ] && mv /go/bin/*/vsudd /go/bin/ || true