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:
19
Dockerfile
Normal file
19
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user