13 lines
305 B
Makefile
13 lines
305 B
Makefile
TAG = $(shell git describe)
|
|
|
|
build:
|
|
docker build -t lxsameer/hephaestus:$(TAG) .
|
|
|
|
run:
|
|
docker run -d --name test -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC -e PUBLIC_KEY_DIR=$(PWD)/pub_keys/ -p 2222:22 -p 9000:9000 lxsameer/hephaestus:$(TAG)
|
|
|
|
push:
|
|
docker push lxsameer/hephaestus:$(TAG)
|
|
|
|
all: build push
|