~poldi1405/gomod-recter

e885757b0392ac0c60680695042ce4172845849b — Moritz Poldrack 3 years ago 18599f4
added previously missing Dockerfile
2 files changed, 6 insertions(+), 1 deletions(-)

A .docker/Dockerfile
M Makefile
A .docker/Dockerfile => .docker/Dockerfile +5 -0
@@ 0,0 1,5 @@
FROM scratch
COPY recter /
COPY data /
COPY themes /
CMD ["/recter"]

M Makefile => Makefile +1 -1
@@ 10,7 10,7 @@ IMAGENAME=recter
REPO=mpldr
IMAGEFULLNAME=${REPO}/${IMAGENAME}:${VERSION}
docker:
	$(MAKE) build OUTFILE=.docker/recter GOTAGS="-tags docker"
	$(MAKE) build OUTFILE=.docker/recter GOTAGS="-tags docker" CGO_ENABLED=0
	mkdir -p .docker/data
	cp -rf themes/ .docker/
	docker build -t ${IMAGEFULLNAME} .docker