blob: cafa837a9d5afec539439858d45256ca69c369ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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"]
|