diff options
author | Sam Pearson <sam@sgp.me.uk> | 2020-03-09 12:14:21 +0000 |
---|---|---|
committer | Sam Pearson <sam@sgp.me.uk> | 2020-03-10 10:03:01 +0000 |
commit | e858402c887d408d2bf4556b0ba6b8fa12ce5533 (patch) | |
tree | 52ef048e2865c56c70fa272cbc3623fd87cf5762 /Dockerfile | |
parent | 56d6928983a49a781274f8fd16c14ece7d263c87 (diff) |
[Docker] Allow use of VERSION_OVERRIDE
When building, you can pass `--build-arg VERSION_OVERRIDE=<foo>` to
build arbitrary git commits instead of the most recent tagged release.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 8f54e0d0d..f6bc9436f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM jgoerzen/debian-base-standard:stretch MAINTAINER sysadmin@mysociety.org ARG DEBIAN_FRONTEND=noninteractive +ARG VERSION_OVERRIDE RUN apt-get -qq update \ && apt-get -qq -y install ca-certificates sudo \ |