feat: update docker and pipeline

- Add workflow to publish to GHCR
- Add workflow to build Docker image
- Add zap2xmlrc config example
- Update Dockerfile to run continuously
This commit is contained in:
Jef LeCompte
2019-09-04 12:13:56 -04:00
commit e31071bda8
15 changed files with 1805 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM alpine:3.13.5
ENV SLEEPTIME=43200
RUN apk add --no-cache \
perl \
perl-http-cookies \
perl-lwp-useragent-determined \
perl-json \
perl-json-xs \
perl-lwp-protocol-https \
perl-gd
WORKDIR /opt
COPY zap2xml.pl zap2xml.pl
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]