Skip to content

Instantly share code, notes, and snippets.

View raphaelhuefner's full-sized avatar

Raphael Huefner raphaelhuefner

View GitHub Profile
@avishayp
avishayp / Dockerfile
Created September 25, 2018 19:02
Add non-root user for alpine linux
# non root user example for alpine
#
# usage:
# $ docker build --build-arg "USER=someuser" --tag test .
# $ docker run --rm test
FROM alpine
ARG USER=default
ENV HOME /home/$USER