Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlei committed Mar 5, 2024
1 parent 7c7f396 commit 20c0fc4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 25/nvidia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ ARG version_major=
ARG containerd=1.6.28
ARG docker_buildx_plugin=0.12.1

ADD https://raw.githubusercontent.com/docker-library/docker/master/${version_major}/cli/modprobe.sh /usr/local/bin/modprobe
ADD https://raw.githubusercontent.com/docker-library/docker/master/${version_major}/cli/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ADD https://raw.githubusercontent.com/docker-library/docker/master/${version_major}/dind/dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh
ADD https://raw.githubusercontent.com/docker/docker/${version}/hack/dind /usr/local/bin/dind

VOLUME /var/lib/docker
EXPOSE 2375/tcp 2376/tcp

ENTRYPOINT ["dockerd"]

ADD https://raw.githubusercontent.com/docker-library/docker/master/${version_major}/cli/modprobe.sh /usr/local/bin/modprobe
ADD https://raw.githubusercontent.com/docker-library/docker/master/${version_major}/cli/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ADD https://raw.githubusercontent.com/docker-library/docker/master/${version_major}/dind/dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh
ADD https://raw.githubusercontent.com/docker/docker/${version}/hack/dind /usr/local/bin/dind

# Install docker
RUN apt-get update && \
apt-get install -y \
Expand Down

0 comments on commit 20c0fc4

Please sign in to comment.