Skip to content

Commit 0f1166a

Browse files
authored
Merge pull request #358 from jgehrcke/jp/remove-arg-dockerfile
Remove needless arg from container/Dockerfile
2 parents 8d5cacc + a6f11c5 commit 0f1166a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deployments/container/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
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.
1716
FROM 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.
2424
ARG GOLANG_VERSION=x.x.x
2525

2626
RUN 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

4141
WORKDIR /build
4242
COPY . .

0 commit comments

Comments
 (0)