Skip to content

Commit 3fc40b0

Browse files
committed
Downgrade to bullseye
Signed-off-by: Kristian Berg <[email protected]>
1 parent a250aea commit 3fc40b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13.3-slim-bookworm
1+
FROM python:3.13.3-slim-bullseye
22
ARG BUILD_DATE
33
ARG BUILD_URL
44
ARG GIT_URL
@@ -18,7 +18,7 @@ LABEL maintainer="Kristian Berg <[email protected]>" \
1818
org.opencontainers.image.description="Base image for python 3"
1919
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
2020
RUN apt-get update && \
21-
apt-get install -y --no-install-recommends libaio1 curl ca-certificates dnsutils iputils-ping iproute2 net-tools tar gzip bzip2 unzip tzdata lsof psmisc less gcc libstdc++-12-dev && \
21+
apt-get install -y --no-install-recommends libaio1 curl ca-certificates dnsutils iputils-ping iproute2 net-tools tar gzip bzip2 unzip tzdata lsof psmisc less gcc libstdc++-10-dev && \
2222
apt-get -y clean && \
2323
rm -rf /var/cache/apt /var/lib/apt/lists/* /tmp/* /var/tmp/*
2424
RUN curl -s https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip -o /tmp/instantclient-basic-linuxx64.zip && \
@@ -31,7 +31,7 @@ RUN curl -s https://download.oracle.com/otn_software/linux/instantclient/instant
3131
RUN echo /opt/instantclient > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig
3232
COPY requirements.txt /tmp
3333
RUN pip install -r /tmp/requirements.txt
34-
RUN apt-get purge -y gcc libstdc++-12-dev && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
34+
RUN apt-get purge -y gcc libstdc++-10-dev && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
3535
RUN python -V
3636
RUN pip freeze
3737
RUN useradd -r -s /bin/bash -c "application user" -d /app -u 1001 -g 100 -m appuser

0 commit comments

Comments
 (0)