From 78aac079616739a3c59e29ed2420225ffa50ae71 Mon Sep 17 00:00:00 2001 From: Arjan H Date: Mon, 21 Apr 2025 09:19:07 +0200 Subject: [PATCH] Add syntax parser directive to Dockerfiles --- .github/Dockerfile | 1 + build/Dockerfile-boulder | 1 + build/Dockerfile-control | 1 + build/Dockerfile-gui | 1 + build/Dockerfile-standalone | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/Dockerfile b/.github/Dockerfile index 51055ec..b66496f 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 # Dummy Dockerfile for dependabot, if it finds an update we need to update docker-compose.yml # FROM nginx:latest diff --git a/build/Dockerfile-boulder b/build/Dockerfile-boulder index 30dc806..b2135ed 100644 --- a/build/Dockerfile-boulder +++ b/build/Dockerfile-boulder @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 FROM letsencrypt/boulder-tools:go1.24.1_2025-03-10 AS boulder-tools FROM ubuntu:focal diff --git a/build/Dockerfile-control b/build/Dockerfile-control index 18c91fc..f11f25d 100644 --- a/build/Dockerfile-control +++ b/build/Dockerfile-control @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 FROM letsencrypt/boulder-tools:go1.23.1_2024-09-05 AS boulder-tools FROM ubuntu:focal as builder diff --git a/build/Dockerfile-gui b/build/Dockerfile-gui index 8a293e1..1f5d1da 100644 --- a/build/Dockerfile-gui +++ b/build/Dockerfile-gui @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 FROM ubuntu:focal AS builder RUN export DEBIAN_FRONTEND=noninteractive \ diff --git a/build/Dockerfile-standalone b/build/Dockerfile-standalone index 323960b..812834a 100644 --- a/build/Dockerfile-standalone +++ b/build/Dockerfile-standalone @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 FROM ubuntu:24.04 ARG TARGETARCH