2020-08-16 20:59:04 +02:00
|
|
|
FROM debian:buster
|
2018-12-08 13:50:44 +01:00
|
|
|
|
|
|
|
RUN \
|
|
|
|
apt-get update \
|
2020-08-17 02:01:52 +02:00
|
|
|
&& apt-get install --yes -qq python3 git python3-pip libssl-dev libbz2-dev \
|
2020-08-16 23:08:14 +02:00
|
|
|
&& pip3 install --no-cache-dir zeroc-ice python-daemon \
|
2020-08-17 02:01:52 +02:00
|
|
|
&& apt-get purge --yes libssl-dev libbz2-dev python3-pip \
|
|
|
|
&& apt-get autoremove --yes \
|
2020-08-16 22:45:51 +02:00
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
2020-08-16 20:59:04 +02:00
|
|
|
&& useradd --system --no-create-home -U mumo
|
2018-12-08 13:50:44 +01:00
|
|
|
|
|
|
|
VOLUME ["/data"]
|
|
|
|
|
2020-08-16 20:59:04 +02:00
|
|
|
ADD bin/entrypoint.sh /entrypoint.sh
|
|
|
|
|
2020-08-16 22:45:51 +02:00
|
|
|
RUN git clone https://github.com/ailox/mumo.git --depth 1
|
2018-12-08 13:50:44 +01:00
|
|
|
|
|
|
|
WORKDIR /mumo
|
2020-08-16 20:59:04 +02:00
|
|
|
CMD ["/entrypoint.sh"]
|