Skip to content

Commit 0039095

Browse files
authored
Merge pull request #13 from chemidy/update_go114
Update go114
2 parents 86acf99 + f1294b4 commit 0039095

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
############################
22
# STEP 1 build executable binary
33
############################
4-
# golang debian buster 1.13.6 linux/amd64
5-
# https://github.com/docker-library/golang/blob/master/1.13/buster/Dockerfile
6-
FROM golang@sha256:93a56423351235e070b3630e0a8b3e27d5e868883d4dff591f676315f208a574 as builder
4+
# golang debian buster 1.14 linux/amd64
5+
# https://github.com/docker-library/golang/blob/master/1.14/buster/Dockerfile
6+
FROM golang@sha256:eee8c0a92bc950ecb20d2dffe46546da12147e3146f1b4ed55072c10cacf4f4c as builder
77

88
# Ensure ca-certficates are up to date
99
RUN update-ca-certificates
@@ -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

go_module_distroless_static/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
############################
22
# STEP 1 build executable binary
33
############################
4-
# golang debian buster 1.13.6 linux/amd64
5-
# https://github.com/docker-library/golang/blob/master/1.13/buster/Dockerfile
6-
FROM golang@sha256:93a56423351235e070b3630e0a8b3e27d5e868883d4dff591f676315f208a574 as builder
4+
# golang debian buster 1.14.1 linux/amd64
5+
# https://github.com/docker-library/golang/blob/master/1.14/buster/Dockerfile
6+
FROM golang@sha256:eee8c0a92bc950ecb20d2dffe46546da12147e3146f1b4ed55072c10cacf4f4c as builder
77

88
# Ensure ca-certficates are up to date
99
RUN update-ca-certificates
@@ -29,7 +29,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
2929
############################
3030
# using static nonroot image
3131
# user:group is nobody:nobody, uid:gid = 65534:65534
32-
FROM gcr.io/distroless/static@sha256:08322afd57db6c2fd7a4264bf0edd9913176835585493144ee9ffe0c8b576a76
32+
FROM gcr.io/distroless/static@sha256:c6d5981545ce1406d33e61434c61e9452dad93ecd8397c41e89036ef977a88f4
3333

3434
# Copy our static executable
3535
COPY --from=builder /go/bin/hello /go/bin/hello

0 commit comments

Comments
 (0)