Sign inSign up

ellerbrock/alpine-harden

By ellerbrock

Updated almost 7 years ago

Alpine Linux 3.5 harden with an unprivileged User

Image
1

1.2K

ellerbrock/alpine-harden repository overview

docker

alpine-harden

Alpine Linux harden with an unprivileged user

Docker Automated Build Docker Pulls Quay Status Open Source Love Gitter Chat

Installation

docker pull ellerbrock/alpine-harden

About the Container

As Base Image i use Alpine Linux which is lightweight Distribution with a small surface area for security concerns, but with enough functionality for development and interactive debugging.

To prevent zombie reaping processes i run 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

Contact / Social Media

Get the latest News about Web Development, Open Source, Tooling, Server & Security

GithubDockernpmTwitterFacebookGoogle+Gitter

Tag summary

Content type

Image

Digest

Size

2.1 MB

Last updated

almost 7 years ago

docker pull ellerbrock/alpine-harden