File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- ARG GOLANG_VERSION=1.24.2
1615# We use an ubuntu20.04 base image to allow for a more efficient multi-arch builds.
1716FROM nvcr.io/nvidia/cuda:12.8.1-base-ubuntu20.04 AS build
1817
@@ -21,6 +20,7 @@ RUN apt-get update && \
2120 && \
2221 rm -rf /var/lib/apt/lists/*
2322
23+ # Require build arg.
2424ARG GOLANG_VERSION=x.x.x
2525
2626RUN set -eux; \
@@ -35,8 +35,8 @@ RUN set -eux; \
3535 wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \
3636 | tar -C /usr/local -xz
3737
38- ENV GOPATH /go
39- ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
38+ ENV GOPATH= /go
39+ ENV PATH= $GOPATH/bin:/usr/local/go/bin:$PATH
4040
4141WORKDIR /build
4242COPY . .
You can’t perform that action at this time.
0 commit comments