8 months ago
I have the following error when trying to send updates to my APP, I also tried to redeploy the app that is working and running and the error also occurs.
Pinned Solution
8 months ago
python:3.8.10is based on Debian Buster.Debian moved Buster’s old packages to the archive repository.
apt-get updatecan’t findbuster-updates→ exit code 100
Use a newer base image
Change your Dockerfile's first line (image reference) to:
FROM python:3.8-slim-bookworm
That will help to resolve the issue. I hope that helps
10 Replies
8 months ago
Can you please provide the screenshot of the error, it's missing in the initial post. And also, do provide the snippet of the server file, so that we can chek whether the configuaration is correct or not!
Dockerfile
```FROM python:3.8.10
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN pip install --upgrade pip
RUN apt-get update \
&& apt-get -y install libpq-dev gcc
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.prod.sh
CMD ["/app/entrypoint.prod.sh"]```
8 months ago
python:3.8.10is based on Debian Buster.Debian moved Buster’s old packages to the archive repository.
apt-get updatecan’t findbuster-updates→ exit code 100
Use a newer base image
Change your Dockerfile's first line (image reference) to:
FROM python:3.8-slim-bookworm
That will help to resolve the issue. I hope that helps
clashing
python:3.8.10 is based on Debian Buster.Debian moved Buster’s old packages to the archive repository.apt-get update can’t find buster-updates → exit code 100Use a newer base imageChange your Dockerfile's first line (image reference) to:FROM python:3.8-slim-bookwormThat will help to resolve the issue. I hope that helps
7 months ago
Did that helped, pythonando
clashing
python:3.8.10 is based on Debian Buster.Debian moved Buster’s old packages to the archive repository.apt-get update can’t find buster-updates → exit code 100Use a newer base imageChange your Dockerfile's first line (image reference) to:FROM python:3.8-slim-bookwormThat will help to resolve the issue. I hope that helps
7 months ago
Any progress, pythonando?
Great, please click on ACCEPT SOLUTION for the post which helped you to resolve this issue.
Visit the help station thread to do the same: https://station.railway.com/questions/error-when-trying-to-redeploy-bf7a2db1
7 months ago
Thanks for marking the solution
Status changed to Solved christian • 7 months ago
