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 HTTPS_PROXY=
|
||||||
ARG http_proxy=
|
ARG http_proxy=
|
||||||
ARG https_proxy=
|
ARG https_proxy=
|
||||||
|
ARG GIT_USERNAME=
|
||||||
|
ARG GIT_PASSWORD=
|
||||||
|
|
||||||
RUN apt-get update -y && apt-get install -y git
|
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)" \
|
-ldflags "-X main.AppVersionMetadata=$(date -u +%s)" \
|
||||||
-a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/.
|
-a -installsuffix cgo -o ./bin/envtpl ./cmd/envtpl/.
|
||||||
|
|
||||||
FROM alpine:3.10
|
FROM alpine:3.16
|
||||||
|
|
||||||
ARG HTTP_PROXY=
|
ARG HTTP_PROXY=
|
||||||
ARG HTTPS_PROXY=
|
ARG HTTPS_PROXY=
|
||||||
|
@ -33,9 +35,14 @@ RUN apk add --no-cache \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
chromium \
|
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 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install -g pa11y git+https://forge.cadoles.com/rmasson/junit-reporter-fork.git
|
||||||
|
|
||||||
RUN adduser -D pa11y
|
RUN adduser -D pa11y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue