tiny improvements
This commit is contained in:
parent
8e46f30f07
commit
bc5eaba519
@ -66,6 +66,6 @@ services:
|
|||||||
- ${CONTAINER_DATA}/config/nas_sync.config:/sync/nas_sync.config
|
- ${CONTAINER_DATA}/config/nas_sync.config:/sync/nas_sync.config
|
||||||
- ${CONTAINER_DATA}/config/nas_login.config:/sync/nas_login.config
|
- ${CONTAINER_DATA}/config/nas_login.config:/sync/nas_login.config
|
||||||
command:
|
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
|
- lsyncd
|
||||||
- /sync/nas_sync.config
|
- /sync/nas_sync.config
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM bash:latest
|
FROM bash:latest
|
||||||
# alpine with bash instead of sh
|
# alpine with bash instead of sh
|
||||||
|
ENV TZ=Europe/Berlin
|
||||||
RUN apk add lsyncd cifs-utils
|
RUN apk add lsyncd cifs-utils rsync
|
||||||
RUN mkdir -p /sync/remote_files
|
RUN mkdir -p /sync/remote_files
|
||||||
COPY entrypoint.sh /sync/entrypoint.sh
|
COPY entrypoint.sh /sync/entrypoint.sh
|
||||||
|
|
||||||
|
@ -2,26 +2,16 @@ FROM python:latest
|
|||||||
|
|
||||||
ENV TZ Europe/Zurich
|
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 \
|
RUN apt-get update && apt-get install -y \
|
||||||
evince \
|
evince \
|
||||||
# for checking
|
# for checking
|
||||||
xauth \
|
xauth \
|
||||||
#for gui
|
#for gui
|
||||||
# wget tar firefox \
|
|
||||||
# for geckodriver
|
|
||||||
ghostscript
|
ghostscript
|
||||||
# for compression
|
# 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
|
RUN useradd --create-home --shell /bin/bash --uid 1001 autonews
|
||||||
# id mapped to local user
|
# id mapped to local user
|
||||||
# home directory needed for pip package installation
|
# home directory needed for pip package installation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user