Skip to content

Commit

Permalink
add images sha256
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Thamdrup <[email protected]>
  • Loading branch information
dallemon committed Dec 4, 2023
1 parent 4e985db commit 83c708d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:latest
# syntax=docker/dockerfile:latest@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
## build ergo binary
FROM cgr.dev/chainguard/go:latest AS build-env
FROM cgr.dev/chainguard/go:latest@sha256:c894bc454800817b1747c8a1a640ae6d86004b06190f94e791098e7e78dbbc00 AS build-env

# copy ergo source
WORKDIR /go/src/github.com/ergochat/ergo
Expand All @@ -26,7 +26,7 @@ COPY --from=build-env /go/src/github.com/ergochat/ergo/languages /ircd-bin/langu
COPY --from=build-env /go/src/github.com/ergochat/ergo/ergo.motd /ircd/ergo.motd

## build ergo container
FROM cgr.dev/chainguard/busybox:latest-glibc AS runtime
FROM cgr.dev/chainguard/busybox:latest-glibc@sha256:f5f11a14dda5355dff116219302d45f1a4fd018285c8922cf848a9b24cae1f3d AS runtime

# metadata
LABEL maintainer="Daniel Oaks <[email protected]>,Daniel Thamdrup <[email protected]>" \
Expand Down

0 comments on commit 83c708d

Please sign in to comment.