File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 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
2
2
ARG BUILD_DATE
3
3
ARG BUILD_URL
4
4
ARG GIT_URL
18
18
org.opencontainers.image.description="Base image for python 3"
19
19
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
20
20
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 && \
22
22
apt-get -y clean && \
23
23
rm -rf /var/cache/apt /var/lib/apt/lists/* /tmp/* /var/tmp/*
24
24
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
31
31
RUN echo /opt/instantclient > /etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig
32
32
COPY requirements.txt /tmp
33
33
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/*
35
35
RUN python -V
36
36
RUN pip freeze
37
37
RUN 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