Files
website-typo3/.ddev/.dbimageBuild/Dockerfile
T
2020-01-24 11:37:15 +01:00

9 lines
299 B
Docker

ARG BASE_IMAGE
FROM $BASE_IMAGE
ARG username
ARG uid
ARG gid
RUN (groupadd --gid $gid "$username" || groupadd "$username" || true) && (useradd -l -m -s "/bin/bash" --gid "$username" --comment '' --uid $uid "$username" || useradd -l -m -s "/bin/bash" --gid "$username" --comment '' "$username")