From 2c47bec0898792d1d015670d37d8c70056ef713f Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 9 Dec 2024 18:19:14 +0100 Subject: [PATCH 1/2] fix: add hadolint ignore to panther recipe --- symfony/panther/1.0/manifest.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/symfony/panther/1.0/manifest.json b/symfony/panther/1.0/manifest.json index 2fbd2eafd..a35a7d42d 100644 --- a/symfony/panther/1.0/manifest.json +++ b/symfony/panther/1.0/manifest.json @@ -3,11 +3,13 @@ "# Chromium and ChromeDriver", "ENV PANTHER_NO_SANDBOX 1", "# Not mandatory, but recommended", + "# hadolint ignore=DL3008", "ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'", "RUN apt-get update && apt-get install -y --no-install-recommends chromium chromium-driver && rm -rf /var/lib/apt/lists/*", "", "# Firefox and geckodriver", "#ARG GECKODRIVER_VERSION=0.34.0", + "# hadolint ignore=DL3008", "#RUN apt-get update && apt-get install -y --no-install-recommends firefox && rm -rf /var/lib/apt/lists/*", "#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz; \\", "#\ttar -zxf geckodriver-v$GECKODRIVER_VERSION-aarch64.tar.gz -C /usr/bin; \\", From f576ee511c6b748331d2d37fd9c1bc48e3cf4588 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 9 Dec 2024 18:22:48 +0100 Subject: [PATCH 2/2] fix: add hadolint on right line --- symfony/panther/1.0/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symfony/panther/1.0/manifest.json b/symfony/panther/1.0/manifest.json index a35a7d42d..86c999bd2 100644 --- a/symfony/panther/1.0/manifest.json +++ b/symfony/panther/1.0/manifest.json @@ -3,8 +3,8 @@ "# Chromium and ChromeDriver", "ENV PANTHER_NO_SANDBOX 1", "# Not mandatory, but recommended", - "# hadolint ignore=DL3008", "ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'", + "# hadolint ignore=DL3008", "RUN apt-get update && apt-get install -y --no-install-recommends chromium chromium-driver && rm -rf /var/lib/apt/lists/*", "", "# Firefox and geckodriver",