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"]