mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
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>
This commit is contained in:
parent
78a2742172
commit
089c592873
@ -8,7 +8,7 @@ default: push
|
||||
hash:
|
||||
docker pull $(BASE)
|
||||
tar cf - Dockerfile | docker build --no-cache -t $(IMAGE):build -
|
||||
docker run --rm $(IMAGE):build sha1sum /lib/apk/db/installed | sed 's/ .*//' > hash
|
||||
docker run golang:alpine sh -c 'cat /usr/local/go/bin/go /lib/apk/db/installed | sha1sum' | sed 's/ .*//' > hash
|
||||
|
||||
push: hash
|
||||
docker pull mobylinux/$(IMAGE):$(shell cat hash) || \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM mobylinux/alpine-build-go:f87b7d1c1cdec779ed602bfa5eaaeb94896d612c
|
||||
FROM mobylinux/alpine-build-go:30067067003d565887d7efe533eba03ed46038d2
|
||||
|
||||
RUN mkdir -p /go/src/diagnostics
|
||||
WORKDIR /go/src/diagnostics
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM mobylinux/alpine-build-go:f87b7d1c1cdec779ed602bfa5eaaeb94896d612c
|
||||
FROM mobylinux/alpine-build-go:30067067003d565887d7efe533eba03ed46038d2
|
||||
|
||||
RUN mkdir -p /go/src/proxy
|
||||
WORKDIR /go/src/proxy
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM mobylinux/alpine-build-go:f87b7d1c1cdec779ed602bfa5eaaeb94896d612c
|
||||
FROM mobylinux/alpine-build-go:30067067003d565887d7efe533eba03ed46038d2
|
||||
|
||||
RUN mkdir -p /go/src/vsudd
|
||||
WORKDIR /go/src/vsudd
|
||||
|
Loading…
Reference in New Issue
Block a user