Skip to content

Commit

Permalink
Reduced number of layers in the devcontainer
Browse files Browse the repository at this point in the history
Signed-off-by: Vadym Fedorov <[email protected]>
  • Loading branch information
nvvfedorov committed Feb 28, 2024
1 parent bd18649 commit a85bfa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 26,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
datacenter-gpu-manager=1:${DCGM_VERSION} \
libcap2-bin \
&& apt-get autoremove -y \
&& rm -rfd /usr/local/dcgm/bindings /usr/local/dcgm/sdk_samples /usr/share/nvidia-validation-suite \
&& rm -rf /var/lib/apt/lists/*

RUN set -eux; \
Expand Down Expand Up @@ -59,8 60,7 @@ ENV PATH $GOPATH/bin:$PATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH"
ENV PATH $PATH:/usr/local/go/bin

RUN rm -rfd /usr/local/dcgm/bindings /usr/local/dcgm/sdk_samples /usr/share/nvidia-validation-suite
# Required for DCP metrics
# Required for DCGM metrics
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,compat32
# disable all constraints on the configurations required by NVIDIA container toolkit
ENV NVIDIA_DISABLE_REQUIRE="true"
Expand Down

0 comments on commit a85bfa3

Please sign in to comment.