mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Fix for bug that forces all Go binaries to be based on Go 1.8 (the default)
This commit is contained in:
parent
ab7d1bf72f
commit
6725e787b0
11 changed files with 40 additions and 25 deletions
|
|
@ -33,9 +33,9 @@ ARG YARN_INSTALL_VERSION
|
|||
RUN if [ -n "$NODE_INSTALL_VERSION" ] ; then /scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version; fi
|
||||
|
||||
# Golang
|
||||
ARG GOLANG_VERSION
|
||||
ARG INSTALL_GOLANG_VERSION
|
||||
ARG GOLANG_DOWNLOAD_SHA256
|
||||
RUN if [ -n "$GOLANG_VERSION" ] ; then /scripts/install-golang && go version; fi
|
||||
RUN if [ -n "$INSTALL_GOLANG_VERSION" ] ; then /scripts/install-golang "${INSTALL_GOLANG_VERSION}" "${GOLANG_DOWNLOAD_SHA256}" && go version; fi
|
||||
|
||||
# Postgres
|
||||
# Codedebt: currently this will only install the default version of postgres,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue