modification Dockerfile pa11y, update pa11y@6.2.3
This commit is contained in:
parent
6d48542bfc
commit
4abd2c5fef
|
@ -4,6 +4,8 @@ ARG HTTP_PROXY=
|
|||
ARG HTTPS_PROXY=
|
||||
ARG http_proxy=
|
||||
ARG https_proxy=
|
||||
ARG GIT_USERNAME=
|
||||
ARG GIT_PASSWORD=
|
||||
|
||||
RUN apt-get update -y && apt-get install -y git
|
||||
|
||||
|
@ -14,7 +16,7 @@ RUN git clone https://github.com/subfuzion/envtpl /src \
|
|||
-ldflags "-X main.AppVersionMetadata=$(date -u +%s)" \
|
||||
-a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/.
|
||||
|
||||
FROM alpine:3.10
|
||||
FROM alpine:3.16
|
||||
|
||||
ARG HTTP_PROXY=
|
||||
ARG HTTPS_PROXY=
|
||||
|
@ -33,11 +35,16 @@ RUN apk add --no-cache \
|
|||
nodejs \
|
||||
npm \
|
||||
chromium \
|
||||
bash
|
||||
bash \
|
||||
curl \
|
||||
openssl \
|
||||
git
|
||||
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@^6.2.3
|
||||
RUN curl -k https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
|
||||
|
||||
RUN adduser -D pa11y
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install -g pa11y git+https://forge.cadoles.com/rmasson/junit-reporter-fork.git
|
||||
|
||||
RUN adduser -D pa11y
|
||||
|
||||
COPY run-audit.sh /usr/local/bin/run-audit
|
||||
RUN chmod +x /usr/local/bin/run-audit
|
||||
|
|
Loading…
Reference in New Issue