Dockerfile: bump 'from'
This commit is contained in:
parent
7b62140d2a
commit
5ab8b74041
@ -1,4 +1,4 @@
|
|||||||
from golang:1.21.4-alpine3.18 as build
|
from golang:1.21.5-alpine3.19 as build
|
||||||
|
|
||||||
workdir /src
|
workdir /src
|
||||||
copy go.mod go.sum .
|
copy go.mod go.sum .
|
||||||
@ -9,7 +9,7 @@ run go test ./...
|
|||||||
run go build -o /go/bin/init -trimpath .
|
run go build -o /go/bin/init -trimpath .
|
||||||
|
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
from alpine:3.18.4 as initrd
|
from alpine:3.19.0 as initrd
|
||||||
|
|
||||||
run apk add --no-cache xz
|
run apk add --no-cache xz
|
||||||
|
|
||||||
@ -27,6 +27,6 @@ run chroot /layer /init hello
|
|||||||
run find |cpio -H newc -o >/initrd
|
run find |cpio -H newc -o >/initrd
|
||||||
|
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
from alpine:3.18.4
|
from alpine:3.19.0
|
||||||
copy --from=initrd /initrd /
|
copy --from=initrd /initrd /
|
||||||
entrypoint ["base64","/initrd"]
|
entrypoint ["base64","/initrd"]
|
||||||
|
Loading…
Reference in New Issue
Block a user