Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG VERSION
FROM docker.io/library/alpine:3.22 as builder
FROM docker.io/library/alpine:3.23 as builder

Check warning on line 2 in apps/alpine/Dockerfile

View workflow job for this annotation

GitHub Actions / build-images / Build/Test alpine (linux/amd64)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
ARG VERSION
ARG TARGETOS
ARG TARGETARCH
Expand All @@ -11,14 +11,14 @@
GOARCH=${TARGETARCH} \
GOARM=${TARGETVARIANT} \
GOPATH=/go
ENV PATH $GOPATH/bin:$PATH

Check warning on line 14 in apps/alpine/Dockerfile

View workflow job for this annotation

GitHub Actions / build-images / Build/Test alpine (linux/amd64)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
#hadolint ignore=DL3018
RUN \
apk add --no-cache go upx \
&& go install -ldflags="-s -w" github.com/drone/envsubst/cmd/envsubst@latest \
&& upx /go/bin/envsubst

FROM docker.io/library/alpine:${VERSION}

Check warning on line 21 in apps/alpine/Dockerfile

View workflow job for this annotation

GitHub Actions / build-images / Build/Test alpine (linux/amd64)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG docker.io/library/alpine:${VERSION} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG VERSION
ARG CHANNEL
ARG TARGETPLATFORM
Expand Down
4 changes: 2 additions & 2 deletions apps/udp-broadcast-relay-redux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.22 AS builder
FROM docker.io/library/alpine:3.23 AS builder
ARG VERSION

WORKDIR /build
Expand All @@ -17,7 +17,7 @@ RUN \
fi \
&& gcc -g main.c -o udp-broadcast-relay-redux

FROM docker.io/library/alpine:3.22.2
FROM docker.io/library/alpine:3.23.4
WORKDIR /app
RUN \
apk add --no-cache \
Expand Down
Loading