File tree Expand file tree Collapse file tree 1 file changed +40
-5
lines changed
Expand file tree Collapse file tree 1 file changed +40
-5
lines changed Original file line number Diff line number Diff line change 11FROM python:3.10
22ENV PYTHONDONTWRITEBYTECODE=1
33ENV PYTHONUNBUFFERED=1
4- RUN echo 'deb http://archive.debian.org/debian stretch main contrib non-free' >> /etc/apt/sources.list && \
5- apt-get update && \
4+
5+ # Install system dependencies without mixing old Debian repos
6+ RUN apt-get update && \
67 apt-get autoremove -y && \
7- apt-get install -y libssl1.0-dev curl git nano wget && \
8- apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget && \
9- rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/partial/*
8+ apt-get install -y \
9+ curl \
10+ git \
11+ nano \
12+ wget \
13+ ca-certificates \
14+ fonts-liberation \
15+ libasound2 \
16+ libatk1.0-0 \
17+ libcairo2 \
18+ libcups2 \
19+ libdbus-1-3 \
20+ libexpat1 \
21+ libfontconfig1 \
22+ libgdk-pixbuf2.0-0 \
23+ libglib2.0-0 \
24+ libgtk-3-0 \
25+ libnspr4 \
26+ libnss3 \
27+ libpango-1.0-0 \
28+ libpangocairo-1.0-0 \
29+ libx11-6 \
30+ libx11-xcb1 \
31+ libxcb1 \
32+ libxcomposite1 \
33+ libxcursor1 \
34+ libxdamage1 \
35+ libxext6 \
36+ libxfixes3 \
37+ libxi6 \
38+ libxrandr2 \
39+ libxrender1 \
40+ libxss1 \
41+ libxtst6 \
42+ lsb-release \
43+ xdg-utils && \
44+ rm -rf /var/lib/apt/lists/*
1045
1146
1247WORKDIR /code
You can’t perform that action at this time.
0 commit comments