Skip to content
Permalink
Browse files
Merge pull request #48 from apache/extend-go-version
  • Loading branch information
jcabrerizo committed Mar 9, 2021
2 parents 8786592 + b6def2d commit 11a023bde822166ec8b36de97be08fac69c952d8
Showing 1 changed file with 10 additions and 1 deletion.
@@ -26,7 +26,6 @@ FROM maven:3.5.4-jdk-8
RUN apt-get update && apt-get install -y \
git-core \
procps \
golang-go \
rpm \
dpkg \
libpng-dev \
@@ -45,6 +44,16 @@ RUN apt-get update && apt-get install -y \
tar \
zip

RUN cd /tmp \
&& curl -O https://dl.google.com/go/go1.15.8.linux-amd64.tar.gz \
&& CKSUM=$(sha256sum go1.15.8.linux-amd64.tar.gz | awk '{print $1}') \
&& [ ${CKSUM} = "d3379c32a90fdf9382166f8f48034c459a8cc433730bc9476d39d9082c94583b" ] \
&& tar xf go1.15.8.linux-amd64.tar.gz \
&& rm go1.15.8.linux-amd64.tar.gz \
&& chown -R root:root ./go \
&& mv go /usr/local

ENV PATH="${PATH}:/usr/local/go/bin"
# Make sure the /.config && /.npm (for UI module builds) is writable for all users
RUN mkdir -p /.config && chmod -R 777 /.config
RUN mkdir -p /.npm && chmod -R 777 /.npm

0 comments on commit 11a023b

Please sign in to comment.