Skip to content

Commit

Permalink
[Changed] - Bump docker image golang version to 1.17.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xtreme-shane-lattanzio committed Sep 20, 2022
1 parent 4ba41fd commit 4f3df24
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 20 deletions.
37 changes: 22 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /tmp
# Versioning
ENV PIP_INSTALL_VERSION 19.0.2
ENV PIP3_INSTALL_VERSION 20.0.2
ENV GO_LANG_VERSION 1.14.3
ENV GO_LANG_VERSION 1.17.13
ENV MAVEN_VERSION 3.6.0
ENV SBT_VERSION 1.3.3
ENV GRADLE_VERSION 5.6.4
Expand Down Expand Up @@ -95,15 +95,30 @@ ENV PATH=$PATH:/go/bin
ENV GOROOT=/go
ENV GOPATH=/gopath
ENV PATH=$PATH:$GOPATH/bin

RUN mkdir /gopath && \
go get github.com/tools/godep && \
go get github.com/FiloSottile/gvt && \
go get github.com/Masterminds/glide && \
go get github.com/kardianos/govendor && \
go get github.com/golang/dep/cmd/dep && \
go get -u github.com/rancher/trash && \
go install github.com/tools/godep@latest && \
go install github.com/FiloSottile/gvt@latest && \
go install github.com/kardianos/govendor@latest && \
go clean -cache

#install rvm and glide and godep
RUN apt-add-repository -y ppa:rael-gc/rvm && \
add-apt-repository -y ppa:masterminds/glide && \
apt update && apt install -y rvm && \
/usr/share/rvm/bin/rvm install --default $RUBY_VERSION &&\
apt-get install -y glide && \
apt-get install -y go-dep

# install trash
RUN curl -Lo trash.tar.gz https://github.com/rancher/trash/releases/download/v0.2.7/trash-linux_amd64.tar.gz && \
tar xvf trash.tar.gz && \
rm trash.tar.gz && \
sudo mv trash /usr/local/bin/

# install bundler
RUN bash -lc "gem update --system && gem install bundler"

WORKDIR /tmp
# Fix the locale
RUN apt-get install -y locales
Expand All @@ -115,14 +130,6 @@ ENV LC_ALL=en_US.UTF-8
# install Cargo
RUN curl https://sh.rustup.rs -sSf | bash -ls -- -y --profile minimal

#install rvm
RUN apt-add-repository -y ppa:rael-gc/rvm && \
apt update && apt install -y rvm && \
/usr/share/rvm/bin/rvm install --default $RUBY_VERSION

# install bundler
RUN bash -lc "gem update --system && gem install bundler"

#install mix
RUN wget https://packages.erlang-solutions.com/erlang-solutions_${MIX_VERSION}_all.deb && \
sudo dpkg -i erlang-solutions_${MIX_VERSION}_all.deb && \
Expand Down
4 changes: 2 additions & 2 deletions features/fixtures/gopath_trash/vendor.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#package
gopath_trash

github.com/Masterminds/vcs v1.12.0
gopkg.in/yaml.v2 eb3733d160e74a9c7e442f435eb3bea458e1d19f
github.com/Masterminds/vcs v1.12.0 https://github.com/Masterminds/vcs .git
gopkg.in/yaml.v2 eb3733d160e74a9c7e442f435eb3bea458e1d19f https://gopkg.in/yaml.v2
4 changes: 3 additions & 1 deletion features/fixtures/gopath_trash_prepared/trash.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import:
- package: github.com/Masterminds/vcs
version: v1.12.0
repo: https://github.com/Masterminds/vcs
- package: gopkg.in/yaml.v2
version: eb3733d160e74a9c7e442f435eb3bea458e1d19f
version: eb3733d160e74a9c7e442f435eb3bea458e1d19f
repo: https://gopkg.in/yaml.v2
4 changes: 2 additions & 2 deletions features/fixtures/gopath_trash_prepared/vendor.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#package
gopath_trash_prepared

github.com/Masterminds/vcs v1.12.0
gopkg.in/yaml.v2 eb3733d160e74a9c7e442f435eb3bea458e1d19f
github.com/Masterminds/vcs v1.12.0 https://github.com/Masterminds/vcs .git
gopkg.in/yaml.v2 eb3733d160e74a9c7e442f435eb3bea458e1d19f https://gopkg.in/yaml.v2

0 comments on commit 4f3df24

Please sign in to comment.