From 64261be16e24b3ab5374d47ae293015c62bc0096 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Tue, 12 Jul 2022 13:01:55 +0200 Subject: [PATCH 1/2] Add get to motsognir image for health check Signed-off-by: Christian Richter --- motsognir/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motsognir/Dockerfile b/motsognir/Dockerfile index 5dd806a..7f984b0 100644 --- a/motsognir/Dockerfile +++ b/motsognir/Dockerfile @@ -4,7 +4,7 @@ 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 + && apt-get -y install wget build-essential rsyslog wget WORKDIR /build RUN wget "https://downloads.sourceforge.net/project/motsognir/v${VERSION}/${TARBALL}" \ && tar xfv "${TARBALL}" -- 2.49.1 From a30cacd5dfe2b2da0097a30924ebcf851ba052b8 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Tue, 12 Jul 2022 13:36:09 +0200 Subject: [PATCH 2/2] Keep wget Signed-off-by: Christian Richter --- motsognir/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motsognir/Dockerfile b/motsognir/Dockerfile index 7f984b0..206b2f9 100644 --- a/motsognir/Dockerfile +++ b/motsognir/Dockerfile @@ -4,12 +4,12 @@ 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 wget + && 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 apt-get -y purge build-essential RUN rm -Rfv /etc/apt/sources.list.* RUN rm -Rfv /build RUN useradd -ms /bin/bash -d /gopher gopher -- 2.49.1