From 49c40eddcec01ca2c5122841a7a82a2ec7104699 Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Tue, 17 Sep 2019 12:13:38 -0600 Subject: [PATCH] Use archive for now-retired wheezy --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b4a72bc..b48cb20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM mono:3.12.1 as builder ARG CHOCOVERSION=stable +RUN echo "deb http://archive.debian.org/debian/ wheezy main contrib non-free" >/etc/apt/sources.list RUN apt-get update && apt-get install -y wget tar gzip WORKDIR /usr/local/src @@ -13,11 +14,10 @@ RUN chmod +x build.sh zip.sh RUN ./build.sh -v -FROM debian - -RUN apt update && apt install -y mono-devel && apt-get clean all +FROM debian:stretch +RUN apt-get update && apt-get install -y mono-devel && apt-get clean all COPY --from=builder /usr/local/src/choco/build_output/chocolatey /opt/chocolatey COPY bin/choco /usr/bin/choco ENTRYPOINT ["/usr/bin/choco"] -CMD ["-h"] \ No newline at end of file +CMD ["-h"]