aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-09-04 16:30:35 +0000
committerRob Austein <sra@hactrn.net>2019-09-04 16:30:35 +0000
commite6fce11310541119a82a57b20cb326712445c455 (patch)
treeaa0db6b5c8c09a3e7509df150fdcb0162668165a /Dockerfile
parent8a7eb9d54bd903c598e0debc65895daec3fa04de (diff)
Add "base:" target.HEADmaster
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 7b6aed8..25517dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,10 @@
# Given that this is security software, you might want to consider
# generating your own debian:stretch base image using debbootstrap
-# rather than trusting Dockerhub
+# rather than trusting Dockerhub, see "base" target in the Makefile.
-FROM debian:stretch
+ARG DIST=debian
+ARG CODE=stretch
+FROM $DIST:$CODE
# Prerequisites. Current version of python-django is a bit too recent
# for the rpki-ca GUI, but rpki-rp only uses the ORM, which hasn't