Add even more dependencies
This commit is contained in:
parent
c41f912690
commit
469af6b9d7
1 changed files with 43 additions and 11 deletions
54
Dockerfile
54
Dockerfile
|
@ -1,10 +1,50 @@
|
||||||
# FROM python:3.11-bookworm
|
FROM python:3.11-bookworm
|
||||||
FROM ubuntu:latest
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
||||||
|
|
||||||
|
# Install chrome dependencies
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
|
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
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||||
traceroute \
|
traceroute \
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
|
@ -20,15 +60,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-virtualenv \
|
python3-virtualenv
|
||||||
# libglib2.0-0=2.50.3-2 \
|
|
||||||
# libnss3=2:3.26.2-1.1+deb9u1 \
|
|
||||||
# libgconf-2-4=3.2.6-4+b1 \
|
|
||||||
# libfontconfig1=2.11.0-6.7+b1
|
|
||||||
libglib2.0-0 \
|
|
||||||
libnss3 \
|
|
||||||
libgconf-2-4 \
|
|
||||||
libfontconfig1
|
|
||||||
|
|
||||||
RUN virtualenv /app/venv
|
RUN virtualenv /app/venv
|
||||||
RUN /app/venv/bin/pip install --upgrade --no-input pip wheel setuptools
|
RUN /app/venv/bin/pip install --upgrade --no-input pip wheel setuptools
|
||||||
|
|
Loading…
Reference in a new issue