cyber-security-resources/docker-and-k8s-security/docker/Makefile
2021-04-11 13:33:39 -04:00

20 lines
325 B
Makefile

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 \
.