Skip to content

Commit cdee1df

Browse files
committed
ci(fix): Properly auto-update Dockerfiles using a build arg
Dependabot will not generate PRs for Dockerfiles that include a build argument within their FROM instruction
1 parent 760ce85 commit cdee1df

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Dockerfile.buildkit.plus

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ARG RELEASE=bookworm
2-
FROM debian:${RELEASE}-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33
1+
# ARG RELEASE=bookworm # Removing for the time being since it doesn't play well with Dependabot
2+
FROM debian:bookworm-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33
33

4-
# Persist RELEASE argument
5-
ARG RELEASE
4+
# Create RELEASE argument
5+
ARG RELEASE=bookworm
66

77
# NJS env vars
88
ENV NGINX_VERSION=32

Dockerfile.plus

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ARG RELEASE=bookworm
2-
FROM debian:${RELEASE}-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33
1+
# ARG RELEASE=bookworm # Removing for the time being since it doesn't play well with Dependabot
2+
FROM debian:bookworm-slim@sha256:f528891ab1aa484bf7233dbcc84f3c806c3e427571d75510a9d74bb5ec535b33
33

4-
# Persist RELEASE argument
5-
ARG RELEASE
4+
# Create RELEASE argument
5+
ARG RELEASE=bookworm
66

77
# NJS env vars
88
ENV NGINX_VERSION=32

0 commit comments

Comments
 (0)