commit d3758b2c2a6ddf4a8c9239dd71c081ef07e22bef Author: Leonard Excoffier Date: Wed May 1 17:37:45 2024 -0400 Initial commit diff --git a/12/dockerfile b/12/dockerfile new file mode 100644 index 0000000..64e0044 --- /dev/null +++ b/12/dockerfile @@ -0,0 +1,15 @@ +FROM debian:12 + +ENV NVIDIA_DRIVER_CAPABILITIES=all + +VOLUME /mnt/debian12 + +EXPOSE 12345 + +COPY init.sh /usr/local/bin/init.sh + +RUN chmod +x /usr/local/bin/init.sh + +ENTRYPOINT ["init.sh"] + +CMD ["tail", "-f", "/dev/null"] \ No newline at end of file diff --git a/12/init.sh b/12/init.sh new file mode 100644 index 0000000..ec416f9 --- /dev/null +++ b/12/init.sh @@ -0,0 +1,5 @@ +#!/bin/bash +apt update +apt full-upgrade -y +apt autoremove -y +exec "$@" \ No newline at end of file