set debian version in config

This commit is contained in:
2017-12-25 13:35:54 +00:00
parent c47f915bed
commit a309b8b92f
6 changed files with 21 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
FROM = debian:stretch
DEBIAN = stretch
FROM = debian:$(DEBIAN)
MODE = minimal
PROXY = $(shell hostname -i)
TIMEZONE = Europe/London
@@ -59,6 +60,9 @@ prepare:
ifneq ($(PROXY),)
$(call arg,http_proxy,http://$(PROXY):3142)
endif
ifneq ($(DEBIAN),)
$(call arg,DEBIAN,$(DEBIAN))
endif
ifneq ($(TIMEZONE),)
$(call arg,TIMEZONE,$(TIMEZONE))
endif