Docker configuration templates
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- FROM eclipse-mosquitto:2
-
- arg UID=1000
- arg GID=1000
- arg USER=unicorn
-
- RUN if [ ${USER} != "root" ]; then \
- apk add shadow && \
- groupadd -f -g ${GID} ${USER} && \
- useradd -m -g ${USER} -u ${UID} ${USER}; \
- fi
-
- RUN chown -R ${USER}:${USER} /mosquitto
-
- USER ${USER}
|