Skip to content

Commit

Permalink
refactor: tmp disable update golang
Browse files Browse the repository at this point in the history
  • Loading branch information
gythialy committed Oct 7, 2019
1 parent 60fedba commit fcf4eed
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM dockercore/golang-cross
LABEL maintainer="Goren G<gythialy.koo+github@gmail.com>"

# install arm gcc
RUN apt-get update && apt-get -y upgrade && apt-get install -y aptitude && \
aptitude install -y -f build-essential \
RUN apt-get update -qq && apt-get -y upgrade && apt-get install -y aptitude && \
aptitude install -y -q build-essential \
gcc-arm-linux-gnueabi g++-arm-linux-gnueabi gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
libc6-dev-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev \
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
Expand All @@ -24,14 +24,14 @@ RUN \
rm $GORELEASER_DOWNLOAD_FILE;

# update golang
RUN \
GOLANG_VERSION=1.13.1 && \
GOLANG_DIST=https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz \
GOLANG_DIST_SHA=94f874037b82ea5353f4061e543681a0e79657f787437974214629af8407d124 && \
wget -O go.tgz "$GOLANG_DIST"; \
echo "${GOLANG_DIST_SHA} *go.tgz" | sha256sum -c -; \
rm -rf /usr/local/go; \
tar -C /usr/local -xzf go.tgz; \
rm go.tgz;
# RUN \
# GOLANG_VERSION=1.13.1 && \
# GOLANG_DIST=https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz \
# GOLANG_DIST_SHA=94f874037b82ea5353f4061e543681a0e79657f787437974214629af8407d124 && \
# wget -O go.tgz "$GOLANG_DIST"; \
# echo "${GOLANG_DIST_SHA} *go.tgz" | sha256sum -c -; \
# rm -rf /usr/local/go; \
# tar -C /usr/local -xzf go.tgz; \
# rm go.tgz;

CMD ["goreleaser", "-v"]

0 comments on commit fcf4eed

Please sign in to comment.