docker: hadolint: pipefail
Can't do the recommended --no-install-recommends for curl because otherwise it has problems with certificates: curl: (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt
This commit is contained in:
parent
3c4f79a1ed
commit
8ce6c2fdc9
1 changed files with 2 additions and 1 deletions
|
|
@ -2,8 +2,9 @@
|
||||||
# Partially from https://github.com/microsoft/playwright/blob/main/utils/docker/Dockerfile.focal
|
# Partially from https://github.com/microsoft/playwright/blob/main/utils/docker/Dockerfile.focal
|
||||||
FROM ubuntu:jammy
|
FROM ubuntu:jammy
|
||||||
|
|
||||||
|
# https://github.com/hadolint/hadolint/wiki/DL4006
|
||||||
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD true
|
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD true
|
||||||
|
|
||||||
# Install up-to-date node & npm, then deps for virtual screen & noVNC
|
# Install up-to-date node & npm, then deps for virtual screen & noVNC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue