swh:1:snp:073f9f660876ea6d96214b0f286fe610ca1875c7
Tip revision: 6e019106ccb8111f6176e1b1f7ca52edab718799 authored by Benjamin Gregoire on 11 January 2021, 17:49:21 UTC
WIP
WIP
Tip revision: 6e01910
Makefile
# -*- Makefile -*-
# --------------------------------------------------------------------
# docker.com account name
DNAME ?= easycryptpa
BBOX := build-box doc-box test-box
# --------------------------------------------------------------------
.PHONY: all __force__
default:
@echo "Available images: $(BBOX)"
all:
for i in $(BBOX); do $(MAKE) $$i-build; done
%-test-box-build:
[ -d $*-test-box ] || mkdir $*-test-box
sed -e 's/BRANCH/$*/g' < templates/Dockerfile > $*-test-box/Dockerfile
cd $*-test-box && docker build -t $(DNAME)/ec-$*-test-box .
%-build: __force__
cd $* && docker build -t $(DNAME)/ec-$* .
%-publish: __force__
cd $* && docker push $(DNAME)/ec-$*:latest