summaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2022-04-29 07:02:02 +0200
committerDavid Lönnhager <david.l@mullvad.net>2022-08-15 11:33:09 +0200
commitf815013ccede62946bb55c2210b8e05e5da9f7b2 (patch)
tree2d3b081d7afcf90f22e806657b1c83514d91fff2 /Dockerfile
parent14c30056b97569da2b7cc178f160638695965437 (diff)
downloadmullvadvpn-f815013ccede62946bb55c2210b8e05e5da9f7b2.tar.xz
mullvadvpn-f815013ccede62946bb55c2210b8e05e5da9f7b2.zip
Improve golang download scripts
Separates golang version and checksum to variables to make it easier to update in the scripts that didn't do this already.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3e2b1c08eb..a1b59c8ffe 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@ RUN apt update -y && apt install build-essential \
# Install golang
ENV GOLANG_VERSION 1.16
-# Found on https://go.dev/dl/
+# Checksum from: https://go.dev/dl/
ENV GOLANG_HASH 013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2
RUN curl -Lo go.tgz https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
echo $(sha256sum go.tgz) && \