Revert to 3.11 to fix error (build #68-81)

This commit is contained in:
askiiart 2023-11-14 15:34:42 -06:00
parent 5e34e60a97
commit 4d69959c64
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM python:slim-bookworm FROM python:3.11-slim-bookworm
WORKDIR /data WORKDIR /data
RUN apt update && apt install -y rust-all RUN apt update && apt install -y rust-all
ADD AlwaysDungeons.tar.gz /data ADD AlwaysDungeons.tar.gz /data

View file

@ -10,7 +10,7 @@ PUSH="false"
git apply docker.patch git apply docker.patch
# Build image # 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) ID=$(docker build . -q)
# Could just do -t on the build, but this makes it easier to expand if needed. # Could just do -t on the build, but this makes it easier to expand if needed.