Update golang in Dockerfile

This commit is contained in:
Patrick O'Grady 2020-11-13 11:14:54 -08:00
parent bbc56790eb
commit bfa31a74c5
No known key found for this signature in database
GPG key ID: 8DE11C985C0C8D85

View file

@ -44,8 +44,8 @@ RUN mkdir -p /app \
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get install -y curl make gcc g++ RUN apt-get update && apt-get install -y curl make gcc g++
ENV GOLANG_VERSION 1.15.2 ENV GOLANG_VERSION 1.15.5
ENV GOLANG_DOWNLOAD_SHA256 b49fda1ca29a1946d6bb2a5a6982cf07ccd2aba849289508ee0f9918f6bb4552 ENV GOLANG_DOWNLOAD_SHA256 9a58494e8da722c3aef248c9227b0e9c528c7318309827780f16220998180a0d
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \