Skip to content

Commit

Permalink
Upgraded the docker version to 1.16
Browse files Browse the repository at this point in the history
With this changes #1753 merged in
the docker image also has to be upgraded.
  • Loading branch information
naveensrinivasan authored and jcvernaleo committed Sep 17, 2021
1 parent bca4298 commit 4caf037
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@
# 8334 Mainet RPC port

ARG ARCH=amd64

FROM golang:1.14-alpine3.12 AS build-container
# using the SHA256 instead of tags
# https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests
# https://cloud.google.com/architecture/using-container-images
# https://github.com/google/go-containerregistry/blob/main/cmd/crane/README.md
# ➜ ~ crane digest golang:1.16-alpine3.12
# sha256:db2475a1dbb2149508e5db31d7d77a75e6600d54be645f37681f03f2762169ba
FROM golang@sha256:db2475a1dbb2149508e5db31d7d77a75e6600d54be645f37681f03f2762169ba AS build-container

ARG ARCH
ENV GO111MODULE=on
Expand Down

0 comments on commit 4caf037

Please sign in to comment.