From 4d69959c64b4284086585b2bfce8e3bd0f3c142b Mon Sep 17 00:00:00 2001 From: askiiart Date: Tue, 14 Nov 2023 15:34:42 -0600 Subject: [PATCH] Revert to 3.11 to fix error (build #68-81) --- Dockerfile | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.