Skip to content
Snippets Groups Projects
Verified Commit 4a76e450 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Install xorg in Docker for use with electron-pdf

parent 8e0e5b6f
No related branches found
No related tags found
1 merge request!464Resolve "Support PDF generation via a headless Chromium running in the background using celery"
......@@ -12,6 +12,7 @@ ENV PIP_DISABLE_PIP_VERSION_CHECK 1
ENV PIP_NO_CACHE_DIR 1
ENV PIP_EXTRA_INDEX_URL https://edugit.org/api/v4/projects/461/packages/pypi/simple
ENV PIP_USE_DEPRECATED legacy-resolver
ENV DEBIAN_FRONTEND noninteractive
# Configure app settings for build and runtime
ENV ALEKSIS_static__root /usr/share/aleksis/static
......@@ -32,7 +33,29 @@ RUN apt-get -y update && \
libssl-dev \
postgresql-client \
yarnpkg \
xvfb && \
xvfb \
x11-xkb-utils \
xfonts-100dpi \
xfonts-75dpi \
xfonts-scalable \
xfonts-cyrillic \
x11-apps \
clang \
libdbus-1-dev \
libgtk2.0-dev \
libnotify-dev \
gnome-keyring \
libgconf2-dev \
libasound2-dev \
libcap-dev \
libcups2-dev \
libxtst-dev \
libxss1 \
libnss3-dev \
gcc-multilib \
libgbm-dev \
xauth \
g++-multilib && \
eatmydata yarnpkg global add electron-pdf && \
eatmydata pip install uwsgi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment