Skip to content

Ubuntu Standard: Add Go 1.17 support #478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ubuntu/standard/5.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,11 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin -
#**************** GOLANG ****************************************************
ENV GOLANG_15_VERSION="1.15.12"
ENV GOLANG_16_VERSION="1.16.4"
ENV GOLANG_17_VERSION="1.17.1"

RUN goenv install $GOLANG_15_VERSION;\
goenv install $GOLANG_16_VERSION; rm -rf /tmp/*; \
goenv install $GOLANG_16_VERSION;\
goenv install $GOLANG_17_VERSION; rm -rf /tmp/*; \
goenv global $GOLANG_15_VERSION

RUN go get -u github.com/golang/dep/cmd/dep
Expand Down
6 changes: 5 additions & 1 deletion ubuntu/standard/5.0/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ runtimes:
1.16:
commands:
- echo "Installing Go version 1.16 ..."
- goenv global $GOLANG_16_VERSION
- goenv global $GOLANG_16_VERSION
1.17:
commands:
- echo "Installing Go version 1.17 ..."
- goenv global $GOLANG_17_VERSION
python:
versions:
3.7:
Expand Down