1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
IMAGE=docker.crute.me/ssh-bastion:latest all: docker build -t $(IMAGE) . all-no-cache: docker build --no-cache -t $(IMAGE) . run: docker run \ -p 4321:4321 \ -v /home/mcrute/tmp/ssh:/srv/ssh \ $(IMAGE) publish: docker push $(IMAGE)