Commit 67aa6952 authored by Chris Lamb's avatar Chris Lamb 💬

Build the Docker image from the current Git checkout, not the Debian archive. (Closes: #56)

parent edb01aa2
Pipeline #50538 passed with stage
in 16 minutes and 15 seconds
......@@ -63,7 +63,7 @@ Once the tracker.debian.org entry appears, consider tweeting the release on
%twitter diffoscope $VERSION has been released. Check out the changelog here: $URL
Once the new version lands in the Debian archive, please update the Docker image using::
Finally, update the Docker image using::
docker build -t registry.salsa.debian.org/reproducible-builds/diffoscope .
docker push registry.salsa.debian.org/reproducible-builds/diffoscope
......@@ -2,9 +2,13 @@ FROM debian:sid
ENV DEBIAN_FRONTEND noninteractive
RUN echo deb http://deb.debian.org/debian experimental main >> /etc/apt/sources.list
RUN apt update && apt dist-upgrade --yes
RUN apt install --yes --no-install-recommends devscripts equivs
RUN apt-get update && apt-get dist-upgrade --yes
RUN apt-get install --yes --install-recommends --target-release=experimental diffoscope || apt-get install --yes --install-recommends diffoscope
ADD [".", "/srv/diffoscope"]
RUN mk-build-deps --install --tool 'apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' /srv/diffoscope/debian/control
ENTRYPOINT ["/usr/bin/diffoscope"]
RUN apt remove --purge --yes devscripts equivs
RUN apt autoremove --purge --yes
ENTRYPOINT ["/srv/diffoscope/bin/diffoscope"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment