Skip to content

Commit

Permalink
docker: Update image to golang:1.20.6-alpine3.18.
Browse files Browse the repository at this point in the history
This updates the docker image to golang:1.20.6-alpine3.18.

To confirm the new digest:

```
$ docker pull golang:1.20.6-alpine3.18
...
1.20.6-alpine3.18: Pulling from library/golang
...
Digest: sha256:7839c9f01b5502d7cb5198b2c032857023424470b3e31ae46a8261ffca72912a
...
```
  • Loading branch information
davecgh committed Jul 20, 2023
1 parent b103569 commit 863ee95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/docker/Dockerfile
Expand Up @@ -3,13 +3,13 @@
###############

# Basic Go environment with git, SSL CA certs, and upx.
# The image below is golang:1.20.5-alpine3.18 (linux/amd64)
# The image below is golang:1.20.6-alpine3.18 (linux/amd64)
# It's pulled by the digest (immutable id) to avoid supply-chain attacks.
# Maintainer Note:
# To update to a new digest, you must first manually pull the new image:
# `docker pull golang:<new version>`
# Docker will print the digest of the new image after the pull has finished.
FROM golang@sha256:5ee43f6d476721d9ae916afb84bac3d37488097a891cb3b65d9e889991977331 AS builder
FROM golang@sha256:7839c9f01b5502d7cb5198b2c032857023424470b3e31ae46a8261ffca72912a AS builder
RUN apk add --no-cache git ca-certificates upx

# Empty directory to be copied into place in the production image since it will
Expand Down

0 comments on commit 863ee95

Please sign in to comment.