tiny improvements

This commit is contained in:
Remy Moll
2022-07-27 09:04:45 +02:00
parent 8e46f30f07
commit bc5eaba519
3 changed files with 4 additions and 14 deletions

View File

@@ -2,26 +2,16 @@ FROM python:latest
ENV TZ Europe/Zurich
# RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
# allows the installation of the latest firefox-release (debian is not usually a rolling release)
RUN apt-get update && apt-get install -y \
evince \
# for checking
xauth \
#for gui
# wget tar firefox \
# for geckodriver
ghostscript
# for compression
# Download gecko (firefox) driver for selenium
# RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz
# RUN tar -x geckodriver -zf geckodriver-v0.31.0-linux64.tar.gz -O > /usr/bin/geckodriver
# RUN chmod +x /usr/bin/geckodriver
# RUN rm geckodriver-v0.31.0-linux64.tar.gz
RUN useradd --create-home --shell /bin/bash --uid 1001 autonews
# id mapped to local user
# home directory needed for pip package installation