diff --git a/Dockerfile b/Dockerfile index 2d551a2..670940a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim-bookworm +FROM python:3.11-slim-bookworm WORKDIR /data RUN apt update && apt install -y rust-all ADD AlwaysDungeons.tar.gz /data diff --git a/build.sh b/build.sh index 80815e0..6ad418b 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ PUSH="false" git apply docker.patch # Build image -docker run -v .:/repo python /bin/sh -c "apt update && apt install -y rustc && cd /repo && pip install -r requirements.txt && apt-get update && apt-get install binutils -y && pip install pyinstaller && pyinstaller main.py && cd /repo/dist/main && chmod -R 777 /repo/dist/main && tar cvfz /repo/AlwaysDungeons.tar.gz *" +docker run -v .:/repo python:3.11-bookworm /bin/sh -c "apt update && apt install -y rustc && cd /repo && pip install -r requirements.txt && apt-get update && apt-get install binutils -y && pip install pyinstaller && pyinstaller main.py && cd /repo/dist/main && chmod -R 777 /repo/dist/main && tar cvfz /repo/AlwaysDungeons.tar.gz *" ID=$(docker build . -q) # Could just do -t on the build, but this makes it easier to expand if needed.