Compare commits

..

No commits in common. "master" and "0.0.1" have entirely different histories.

2 changed files with 4 additions and 19 deletions

View File

@ -11,15 +11,10 @@ RUN \
apt update && \
apt install -y cron && \
apt install -y exim4 && \
apt install -y vim.tiny && \
apt install -y python3 && \
apt install -y python3-pip && \
update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10 && \
pip install requests && \
pip install Cheetah3 && \
pip install pandas && \
pip install influxdb && \
pip3 install requests && \
pip3 install Cheetah3 && \
sed -i \
-e "s/dc_eximconfig_configtype='local'/dc_eximconfig_configtype='satellite'/" \
-e "s/dc_smarthost=''/dc_smarthost='${SMARTHOST}'/" \
@ -29,15 +24,9 @@ RUN \
mkdir -p ${APP_DIR} && \
useradd -d ${APP_DIR} -u 1000 user
COPY crontab ${APP_DIR}/
COPY crontab /etc/
COPY *.py ${APP_DIR}/
RUN \
rm -f /etc/crontab && \
ln -s ${APP_DIR}/crontab /etc/crontab
VOLUME ${APP_DIR}
COPY *.tmpl ${APP_DIR}/
# USER 1000:1000
WORKDIR ${APP_DIR}

View File

@ -1,4 +0,0 @@
#!/usr/bin/python
print("Hello world!\")