Add motsognir

This commit is contained in:
Christian
2020-12-15 21:22:43 +01:00
committed by Christian Richter
parent 7cebcd9231
commit 812b4617e1
8 changed files with 171 additions and 0 deletions

18
motsognir/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM debian:latest
LABEL maintainer="dragonchaser <crichter@suse.de>"
ENV TARBALL=motsognir-1.0.12.tar.xz
EXPOSE 70
RUN apt-get update \
&& apt-get -y install wget build-essential rsyslog
WORKDIR /build
RUN wget "https://downloads.sourceforge.net/project/motsognir/v1.0.12/${TARBALL}" \
&& tar xfv "${TARBALL}"
RUN cd $(echo "${TARBALL}" | sed -e "s/.tar.xz//g") && make all && make install
RUN apt-get -y purge wget build-essential
RUN rm -Rfv /etc/apt/sources.list.*
RUN rm -Rfv /build
RUN useradd -ms /bin/bash -d /gopher gopher
WORKDIR /gopher
COPY entrypoint.sh /
COPY rsyslog.conf /etc
ENTRYPOINT ["/entrypoint.sh"]