Sign inSign up

therandomsecurityguy/alpine-lockdown

By therandomsecurityguy

•Updated about 6 years ago

Hardened Alpine Linux image, run with an unprivileged user.

Image
0

185

therandomsecurityguy/alpine-lockdown repository overview

⁠alpine-lockdown

Hardened Alpine Linux image, run with an unprivileged user.

⁠About the Container

Alpine Linux⁠ is used as a base image, which is a lightweight distribution with a small surface area for security concerns. It has enough functionality for development and interactive debugging.

To prevent zombie reaping processes, we use dumb-init⁠ as PID 1 which forwards signals to all processes running in the container.

⁠Configuration Parameter

These Settings are optional, if not set the default values will be used.

# Optional Configuration Parameter
ARG SERVICE_USER  # Username
ARG SERVICE_HOME  # User Home Directory

# Default Settings
ENV SERVICE_USER ${SERVICE_USER:-app}
ENV SERVICE_HOME ${SERVICE_HOME:-/home/${SERVICE_USER}}

Documentation: https://docs.docker.com/compose/compose-file/#/args⁠

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

about 6 years ago

docker pull therandomsecurityguy/alpine-lockdown