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 committed 2021-04-24 16:17:46 -04:00
commit e31071bda8
15 files changed
+1805

No files matched your search

+19
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"]