Skip to content
Commits on Source (3)
......@@ -63,3 +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::
docker build -t registry.salsa.debian.org/reproducible-builds/diffoscope .
docker push registry.salsa.debian.org/reproducible-builds/diffoscope
FROM debian:sid
ENV DEBIAN_FRONTEND noninteractive
RUN echo deb http://deb.debian.org/debian experimental main >> /etc/apt/sources.list
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
ENTRYPOINT /usr/bin/diffoscope
......@@ -26,7 +26,7 @@ import sys
# Prefer local modules over any system-installed ones to ensure that running a
# Git version from any current working directory does not have unexpected
# behaviour.
parent = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
parent = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
if os.path.exists(os.path.join(parent, 'diffoscope', '__init__.py')):
sys.path.insert(0, parent)
......