Skip to content

Instantly share code, notes, and snippets.

View vitalz's full-sized avatar

Vital Zanko vitalz

  • ObjectStyle
  • in exile in Poland
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