Merge pull request 'Fix Dockerfiles for motsognir' (#5) from drone-tests into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #5
This commit is contained in:
2022-05-12 10:05:16 +02:00
2 changed files with 1 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
FROM debian:latest
LABEL maintainer="dragonchaser <crichter@suse.de>"
LABEL maintainer="dragonchaser <motsognir@datenschmutz.space>"
ENV VERSION=1.0.13
ENV TARBALL="motsognir-${VERSION}.tar.xz"
EXPOSE 70

View File

@@ -1,19 +0,0 @@
FROM arm32v7/debian:buster-slim
#COPY qemu-arm-static /usr/bin
ENV VERSION=1.0.13
ENV TARBALL="motsognir-${VERSION}.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/v${VERSION}/${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"]