Keep wget
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
Christian Richter
2022-07-12 13:36:09 +02:00
committed by Gitea
parent 2498931f7d
commit 25b91f88b2

View File

@@ -4,12 +4,12 @@ ENV VERSION=1.0.13
ENV TARBALL="motsognir-${VERSION}.tar.xz" ENV TARBALL="motsognir-${VERSION}.tar.xz"
EXPOSE 70 EXPOSE 70
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install wget build-essential rsyslog wget && apt-get -y install wget build-essential rsyslog
WORKDIR /build WORKDIR /build
RUN wget "https://downloads.sourceforge.net/project/motsognir/v${VERSION}/${TARBALL}" \ RUN wget "https://downloads.sourceforge.net/project/motsognir/v${VERSION}/${TARBALL}" \
&& tar xfv "${TARBALL}" && tar xfv "${TARBALL}"
RUN cd $(echo "${TARBALL}" | sed -e "s/.tar.xz//g") && make all && make install RUN cd $(echo "${TARBALL}" | sed -e "s/.tar.xz//g") && make all && make install
RUN apt-get -y purge wget build-essential RUN apt-get -y purge build-essential
RUN rm -Rfv /etc/apt/sources.list.* RUN rm -Rfv /etc/apt/sources.list.*
RUN rm -Rfv /build RUN rm -Rfv /build
RUN useradd -ms /bin/bash -d /gopher gopher RUN useradd -ms /bin/bash -d /gopher gopher