h4cker/docker-and-k8s-security/docker/Makefile

20 lines
325 B
Makefile
Raw Normal View History

2021-04-11 17:33:39 +00:00
run:
docker run -i -d -p 8080:8080 node-distroless
build-naive:
docker build \
-f $(CURDIR)/Dockerfile.naive \
-t node-naive \
.
build-non-root:
docker build \
-f $(CURDIR)/Dockerfile.non-root \
-t node-non-root \
.
build-distroless:
docker build \
-f $(CURDIR)/Dockerfile.distroless \
-t node-distroless \
.