File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.13.3-slim-bookworm
1+ FROM python:3.13.3-slim-bullseye
22ARG BUILD_DATE
33ARG BUILD_URL
44ARG GIT_URL
@@ -18,7 +18,7 @@ LABEL maintainer="Kristian Berg <kristian.berg@tietoevry.com>" \
1818 org.opencontainers.image.description="Base image for python 3"
1919ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
2020RUN 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/*
2424RUN 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
3131RUN echo /opt/instantclient > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig
3232COPY requirements.txt /tmp
3333RUN 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/*
3535RUN python -V
3636RUN pip freeze
3737RUN useradd -r -s /bin/bash -c "application user" -d /app -u 1001 -g 100 -m appuser
You can’t perform that action at this time.
0 commit comments