Skip to content

Instantly share code, notes, and snippets.

View tq-niebelm's full-sized avatar

Markus Niebel tq-niebelm

  • TQ-Systems GmbH
View GitHub Profile
@renzok
renzok / Dockerfile
Last active November 10, 2024 16:50
docker: mapping host uid and gid to user inisde container
FROM debian:jessie
ENV USER=boatswain USER_ID=1000 USER_GID=1000
# now creating user
RUN groupadd --gid "${USER_GID}" "${USER}" && \
useradd \
--uid ${USER_ID} \
--gid ${USER_GID} \
--create-home \