Revert to 3.11 to fix error (build #68-81)
This commit is contained in:
parent
5e34e60a97
commit
4d69959c64
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue