Skip to content

Commit 4153c03

Browse files
committed
update go 1.14 + distroless
1 parent 86acf99 commit 4153c03

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
############################
22
# STEP 1 build executable binary
33
############################
4-
# golang alpine 1.13.5
5-
FROM golang@sha256:0991060a1447cf648bab7f6bb60335d1243930e38420bee8fec3db1267b84cfa as builder
4+
# golang alpine 1.14.1
5+
FROM golang@sha256:244a736db4a1d2611d257e7403c729663ce2eb08d4628868f9d9ef2735496659 as builder
66

77
# Install git + SSL ca certificates.
88
# Git is required for fetching the dependencies.

go_module/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
############################
22
# STEP 1 build executable binary
33
############################
4-
# golang alpine 1.13.5
5-
FROM golang@sha256:0991060a1447cf648bab7f6bb60335d1243930e38420bee8fec3db1267b84cfa as builder
4+
# golang alpine 1.14.1
5+
FROM golang@sha256:244a736db4a1d2611d257e7403c729663ce2eb08d4628868f9d9ef2735496659 as builder
66

77
# Install git + SSL ca certificates.
88
# Git is required for fetching the dependencies.

go_module_distroless/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o
2727
############################
2828
# using base nonroot image
2929
# user:group is nobody:nobody, uid:gid = 65534:65534
30-
FROM gcr.io/distroless/base@sha256:2b177fbc9a31b85254d264e1fc9a65accc6636d6f1033631b9b086ee589d1fe2
30+
FROM gcr.io/distroless/base@sha256:2b0a8e9a13dcc168b126778d9e947a7081b4d2ee1ee122830d835f176d0e2a70
3131

3232
# Copy our static executable
3333
COPY --from=builder /go/bin/hello /go/bin/hello

0 commit comments

Comments
 (0)