Commit Graph

10 Commits

Author SHA1 Message Date
kuanhulio 4dd505fd76
use distroless images
Instead of an Alpine container for the program, transition to a distroless container.

By design, these containers contain no shell, no packager manager, or anything you'd expect to find in a standard distribution. This heavily limits what a theoretical attacker can do because this container only has one job: run the application.
2023-03-17 14:40:24 -05:00
spikecodes 93ed1c6f0c
Fix Dockerfile healthchecks 2021-04-09 22:38:13 -07:00
spikecodes c8965ae51b
Switch Docker base image to "scratch" 2021-04-09 15:24:47 -07:00
spikecodes c23d2dc50b
Re-add unprivileged user to Dockerfile 2021-04-01 12:09:08 -07:00
spikecodes 46dbd88d91
New alpine-based Dockerfile with healthcheck 2021-03-31 13:05:22 -07:00
Basti 2b2bd8421b
Added multi-staged container build and a user (#134)
* Added multi-staged container build and a user

This reduces the image size from 2Gb to 92Mb by only put the necessary files into the container.
Container now runs without root priviliges.

* Add EXPOSE to Dockerfile
2021-02-24 19:17:36 +00:00
Spike 16454213cf
Fix Dockerfile 2021-02-10 01:31:28 +00:00
spikecodes 4f379754f7 Fix Dockerfile 2020-11-17 21:45:15 -08:00
spikecodes 9e53f7f9cd Optimize Dockerfile for Image Size 2020-11-17 17:31:12 -08:00
spikecodes 4872d7b986 Publish Metadata Files 2020-10-25 13:48:44 -07:00