[Git][reproducible-builds/reprotest][master] 7 commits: Add dockerfile
Holger Levsen
gitlab at salsa.debian.org
Sun Sep 15 14:04:06 UTC 2019
Holger Levsen pushed to branch master at Reproducible Builds / reprotest
Commits:
c7996e72 by kpcyrd at 2018-05-19T15:20:15Z
Add dockerfile
- - - - -
01719ada by Arnout Engelen at 2019-05-12T09:31:22Z
Command-line example for make-based program
- - - - -
034efd83 by Dmitry Shachnev at 2019-09-02T13:17:14Z
Do not use faketime at all when asked to not vary time.
Closes: #930592.
- - - - -
d71ae9dd by Holger Levsen at 2019-09-15T13:46:17Z
Merge branch 'mr-origin-1'
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
daad6f6f by Holger Levsen at 2019-09-15T13:47:06Z
Merge branch 'mr-origin-5'
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
a909322d by Holger Levsen at 2019-09-15T13:48:28Z
Merge branch 'mr-origin-6'
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
ecb5adfc by Holger Levsen at 2019-09-15T14:03:52Z
fix typo
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
5 changed files:
- + .dockerignore
- + Dockerfile
- README.rst
- debian/rules
- reprotest/build.py
Changes:
=====================================
.dockerignore
=====================================
@@ -0,0 +1,4 @@
+Dockerfile
+.dockerignore
+.git
+.gitignore
=====================================
Dockerfile
=====================================
@@ -0,0 +1,9 @@
+FROM debian:stretch
+RUN apt-get update -q && DEBIAN_FRONTEND=noninteractive apt-get install -qy --no-install-recommends \
+ python3 python3-setuptools ca-certificates \
+ diffoscope disorderfs faketime locales-all sudo \
+ && rm -rf /var/lib/apt/lists/*
+WORKDIR /reprotest
+COPY . .
+RUN python3 setup.py install
+ENTRYPOINT ["reprotest"]
=====================================
README.rst
=====================================
@@ -27,6 +27,9 @@ The easiest way to run reprotest is via our presets::
$ reprotest .
$ reprotest . -vv -- null -d # for very verbose output
+ # Build a make-based program
+ $ reprotest "make clean && make" mybinary
+
# Build the given Debian source package in an schroot
# See https://wiki.debian.org/sbuild for instructions on setting that up.
$ reprotest reprotest_0.3.3.dsc -- schroot unstable-amd64-sbuild
=====================================
debian/rules
=====================================
@@ -38,7 +38,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
endif
endif
-# This is mean to be run by autopkgtest, and runs against the *installed*
+# This is meant to be run by autopkgtest, and runs against the *installed*
# version of reprotest. To run it against the development version, give
# PYTHONPATH=$PWD. (Or just use override_dh_auto_test, above.)
autopkgtest-pytest:
=====================================
reprotest/build.py
=====================================
@@ -357,6 +357,8 @@ def timezone(ctx, build, vary):
@tool_required("faketime")
def faketime(ctx, build, vary):
+ if "time" not in ctx.spec:
+ return build
if not vary:
# fix the time at base_faketime
faket = ctx.base_faketime
View it on GitLab: https://salsa.debian.org/reproducible-builds/reprotest/compare/dbca954ad3cb50b4af331d827b3dc5838953ec35...ecb5adfce6b736a6753a0e4c67a0b5d7c3fdb104
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reprotest/compare/dbca954ad3cb50b4af331d827b3dc5838953ec35...ecb5adfce6b736a6753a0e4c67a0b5d7c3fdb104
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190915/87cb3c06/attachment.html>
More information about the rb-commits
mailing list