Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(): Update registry-1.docker.io/library/busybox Docker tag to v1.37.0 #84

Merged
merged 1 commit into from
Oct 2, 2024
Merged
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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ---
FROM --platform=$BUILDPLATFORM registry-1.docker.io/library/alpine:latest as certs

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Go

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/
RUN apk update && apk add --no-cache ca-certificates

# ---
FROM --platform=$BUILDPLATFORM registry-1.docker.io/library/golang:1.23.2 as builder

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Go

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/
WORKDIR /build/
COPY go.mod go.sum ./
RUN go mod download
Expand All @@ -16,11 +16,11 @@
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -ldflags "-s -w -X main.version=${VERSION}" -o /out/auth-htmx ./main.go

# ---
FROM registry-1.docker.io/library/busybox:1.36.1
FROM registry-1.docker.io/library/busybox:1.37.0

ARG TARGETOS TARGETARCH

ENV TINI_VERSION v0.19.0

Check warning on line 23 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Go

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/
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$TARGETARCH /tini
RUN chmod +x /tini

Expand Down
Loading