Skip to content
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG APPLICATION=dip \
VERSION=0.1.0-rc.1

FROM golang:1.24.5-alpine as builder
FROM golang:1.24.6-alpine as builder

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / mcvs-docker-action (dip)

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 APPLICATION \
VERSION
RUN adduser -D -g '' ${APPLICATION}
Expand All @@ -12,7 +12,7 @@
CGO_ENABLED=0 go build -ldflags "-X main.Version=${VERSION}" -buildvcs=false && \
cp ${APPLICATION} /${APPLICATION}

FROM alpine:3.22.0
FROM alpine:3.22.1
ARG APPLICATION
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /${APPLICATION} /usr/local/bin/app
Expand Down
Loading