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:
Ralf Vogler 2022-12-24 14:46:01 +01:00
parent 3c4f79a1ed
commit 8ce6c2fdc9

View file

@ -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