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.

Dockerfile 291B

123456789101112131415
  1. FROM eclipse-mosquitto:2
  2. arg UID=1000
  3. arg GID=1000
  4. arg USER=unicorn
  5. RUN if [ ${USER} != "root" ]; then \
  6. apk add shadow && \
  7. groupadd -f -g ${GID} ${USER} && \
  8. useradd -m -g ${USER} -u ${UID} ${USER}; \
  9. fi
  10. RUN chown -R ${USER}:${USER} /mosquitto
  11. USER ${USER}