Skip to content

Commit

Permalink
fix(docker): replace ADD by RUN curl (autowarefoundation#3239)
Browse files Browse the repository at this point in the history
Fix `invalid not-modified ETag` error

Signed-off-by: Vincent Richard <[email protected]>
  • Loading branch information
VRichardJP authored Feb 3, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
SaveTheRbtz Alexey Ivanov
1 parent e5e1f55 commit 3d4a0fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/autoware-universe/Dockerfile
Original file line number Diff line number Diff line change
@@ -43,10 +43,10 @@ RUN rm -rf \
/etc/apt/sources.list.d/nvidia-docker.list

## Register Vulkan GPU vendors
ADD "https://gitlab.com/nvidia/container-images/vulkan/raw/dc389b0445c788901fda1d85be96fd1cb9410164/nvidia_icd.json" /etc/vulkan/icd.d/nvidia_icd.json
RUN chmod 644 /etc/vulkan/icd.d/nvidia_icd.json
ADD "https://gitlab.com/nvidia/container-images/opengl/raw/5191cf205d3e4bb1150091f9464499b076104354/glvnd/runtime/10_nvidia.json" /etc/glvnd/egl_vendor.d/10_nvidia.json
RUN chmod 644 /etc/glvnd/egl_vendor.d/10_nvidia.json
RUN curl https://gitlab.com/nvidia/container-images/vulkan/raw/dc389b0445c788901fda1d85be96fd1cb9410164/nvidia_icd.json -o /etc/vulkan/icd.d/nvidia_icd.json \
&& chmod 644 /etc/vulkan/icd.d/nvidia_icd.json
RUN curl https://gitlab.com/nvidia/container-images/opengl/raw/5191cf205d3e4bb1150091f9464499b076104354/glvnd/runtime/10_nvidia.json -o /etc/glvnd/egl_vendor.d/10_nvidia.json \
&& chmod 644 /etc/glvnd/egl_vendor.d/10_nvidia.json

## Register OpenCL GPU vendors
RUN mkdir -p /etc/OpenCL/vendors \

0 comments on commit 3d4a0fd

Please sign in to comment.