doc/tools/buildenv/Dockerfile
raw| 1 | FROM alpine |
| 2 | LABEL maintainer [email protected] |
| 3 | RUN apk add --no-cache py-pip git |
| 4 | RUN pip install sphinx |
| 5 | RUN adduser -s /bin/ash -D rsyslog rsyslog \ |
| 6 | && echo "rsyslog ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers |
| 7 | WORKDIR /home/appliance |
| 8 | CMD ["build-doc"] |
| 9 | ENTRYPOINT ["/home/appliance/starter.sh"] |
| 10 | VOLUME /rsyslog-doc |
| 11 | RUN chmod a+w /rsyslog-doc |
| 12 | ENV BRANCH="main" \ |
| 13 | FORMAT="html" \ |
| 14 | STRICT="-n -W" |
| 15 | COPY starter.sh ./ |
| 16 | COPY tools/* ./tools/ |