1
0
Fork 0
llvm-premerge-checks/containers/stats/Dockerfile
Mikhail Goncharov a44473098c cron jobs for buildbot and phab monitoring
+ fix phabricator / buildbot uptime monitoring

+ data is stored in separate databases
2021-05-20 21:44:19 +02:00

30 lines
1 KiB
Docker

FROM debian:unstable
RUN apt-get update ;\
apt-get upgrade -y;\
apt-get install -y --no-install-recommends \
locales openssh-client gnupg ca-certificates \
build-essential \
zip wget git less vim \
python3 python3-psutil python3-pip python3-setuptools pipenv \
python3 python3-psutil python3-pip python3-setuptools pipenv \
rsync jq tini gosu;
RUN echo 'configure locale'; \
sed --in-place '/en_US.UTF-8/s/^#//' /etc/locale.gen ;\
locale-gen ;
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
COPY *.sh /usr/local/bin/
# requirements.txt generated by running `pipenv lock -r > ../../containers/stats/requirements.txt` in `scripts/metrics`.
COPY requirements.txt /tmp/
RUN pip install -q -r /tmp/requirements.txt
RUN chmod og+rx /usr/local/bin/*.sh
RUN wget -q https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 -O /usr/local/bin/cloud_sql_proxy;\
chmod +x /usr/local/bin/cloud_sql_proxy
ENTRYPOINT ["entrypoint.sh"]
CMD ["/bin/bash"]