FROM alpine:3.7 ENV LUAVER=5.3 RUN addgroup -S -g 82 www-data RUN adduser -D -S -G www-data wwwbuild RUN apk add --no-cache \ git \ curl \ lua$LUAVER-discount \ lua$LUAVER-feedparser \ lua$LUAVER-filesystem \ lua$LUAVER-lustache \ lua$LUAVER-lyaml \ lua$LUAVER-yaml \ lua$LUAVER \ make \ mqtt-exec \ rsync COPY update.sh /usr/local/bin/update.sh RUN chmod +x /usr/local/bin/update.sh VOLUME /www USER wwwbuild ENTRYPOINT ["/usr/bin/mqtt-exec", "-h", "msg.alpinelinux.org", "--verbose", \ "--topic", "git/alpine-mksite/#", \ "--topic", "git/aports/master", \ "--topic", "rsync/#", \ "--", "/usr/local/bin/update.sh"]