Initial commit

This commit is contained in:
2024-05-01 17:37:45 -04:00
commit d3758b2c2a
2 changed files with 20 additions and 0 deletions

15
12/dockerfile Normal file
View File

@@ -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"]

5
12/init.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
apt update
apt full-upgrade -y
apt autoremove -y
exec "$@"