Skip to content

Commit

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

To confirm the new digest:

```
$ docker pull golang:1.19.0-alpine3.16
...
1.19.0-alpine3.16: Pulling from library/golang
...
Digest: sha256:0e78fc17d9b4428bc6b9c07aa49c819541a99cd0c0121c4de9c68feecfea825b
...
```
  • Loading branch information
davecgh committed Aug 4, 2022
1 parent 6f94b32 commit 805a396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
###############

# Basic Go environment with git, SSL CA certs, and upx.
# The image below is golang:1.18.3-alpine3.16 (linux/amd64)
# The image below is golang:1.19.0-alpine3.16 (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:7cc62574fcf9c5fb87ad42a9789d5539a6a085971d58ee75dd2ee146cb8a8695 AS builder
FROM golang@sha256:0e78fc17d9b4428bc6b9c07aa49c819541a99cd0c0121c4de9c68feecfea825b 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 805a396

Please sign in to comment.