diff --git a/docker-compose.yaml b/docker-compose.yaml index 224064b..f726737 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -66,6 +66,6 @@ services: - ${CONTAINER_DATA}/config/nas_sync.config:/sync/nas_sync.config - ${CONTAINER_DATA}/config/nas_login.config:/sync/nas_login.config command: - - nas22.ethz.ch/gess_coss_1/helbing_support/Files RM/Archiving/TEST # fist command is the target mount path + - nas22.ethz.ch/gess_coss_1/helbing_support/Files RM/Archiving/TEST # first command is the target mount path - lsyncd - /sync/nas_sync.config diff --git a/nas_sync/Dockerfile b/nas_sync/Dockerfile index 0d71983..b79bb0e 100644 --- a/nas_sync/Dockerfile +++ b/nas_sync/Dockerfile @@ -1,7 +1,7 @@ FROM bash:latest # alpine with bash instead of sh - -RUN apk add lsyncd cifs-utils +ENV TZ=Europe/Berlin +RUN apk add lsyncd cifs-utils rsync RUN mkdir -p /sync/remote_files COPY entrypoint.sh /sync/entrypoint.sh diff --git a/news_fetch/Dockerfile b/news_fetch/Dockerfile index e94b3ba..8cd350a 100644 --- a/news_fetch/Dockerfile +++ b/news_fetch/Dockerfile @@ -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