18 lines
522 B
Docker
18 lines
522 B
Docker
FROM debian:buster
|
|
|
|
RUN \
|
|
apt-get update \
|
|
&& apt-get install --yes python3 git python3-pip libssl-dev libbz2-dev \
|
|
&& pip3 install --no-cache-dir zeroc-ice python-daemon \
|
|
&& apt-get purge --yes libssl-dev libbz2-dev python3-pip \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
|
&& useradd --system --no-create-home -U mumo
|
|
|
|
VOLUME ["/data"]
|
|
|
|
ADD bin/entrypoint.sh /entrypoint.sh
|
|
|
|
RUN git clone https://github.com/ailox/mumo.git --depth 1
|
|
|
|
WORKDIR /mumo
|
|
CMD ["/entrypoint.sh"]
|