2015-12-11 05:12:56 +01:00
|
|
|
VABUILDER_HOME = /var/lib/vabuilder
|
|
|
|
VABUILDER_REPO = https://bitbucket.org/marduk/virtual-appliance/
|
|
|
|
VABUILDER_REV = default
|
|
|
|
|
|
|
|
M4_DEFS += -D VABUILDER_HOME=$(VABUILDER_HOME) -D HOSTNAME=$(HOSTNAME)
|
|
|
|
M4C = $(M4) $(M4_DEFS)
|
|
|
|
|
|
|
|
preinstall:
|
|
|
|
|
|
|
|
postinstall: nginx.conf.m4
|
2018-10-27 20:04:00 +02:00
|
|
|
RUN rm -rf $(VABUILDER_HOME)
|
|
|
|
RUN hg clone -u $(VABUILDER_REV) $(VABUILDER_REPO) $(VABUILDER_HOME)
|
|
|
|
RUN ln -nsf $(VABUILDER_HOME) /root/vabuilder
|
2015-12-11 05:12:56 +01:00
|
|
|
$(M4C) nginx.conf.m4 > $(CHROOT)/etc/nginx/nginx.conf
|
2018-10-27 20:04:00 +02:00
|
|
|
RUN systemctl enable nginx.service
|
2015-12-11 05:12:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|