mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 09:31:11 +00:00
Now there is an Alpine 3.5 variant of the Go 1.7 images, use this. fix #972 Note updated the containers/binfmt image as this will be converted to go-compile shortly, at which point alpine-build-go can be removed. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
9 lines
194 B
Docker
9 lines
194 B
Docker
FROM golang:1.7-alpine3.5
|
|
RUN apk update && apk add --no-cache build-base git
|
|
|
|
RUN go get -u github.com/golang/lint/golint
|
|
|
|
COPY lint.sh compile.sh /usr/bin/
|
|
|
|
ENTRYPOINT ["/usr/bin/compile.sh"]
|