Docker: Building images with security in mind

When it comes to running our microservices in production, we need to build docker images. Security is unfortunately an afterthought, so let’s try to figure out what we can do to increase security so it’s better than most of the stuff out there.

Configuring Makefile targets

We will start by adding Makefile rules to enable us to build and push docker images.

# docker image build IMAGE_PREFIX := titpetric/service- docker: $(shell ls -d cmd/* | sed -e 's/cmd\//docker./') @echo OK....
 •  0 comments  •  flag
Share on Twitter
Published on December 12, 2019 04:00
No comments have been added yet.