Skip to content

Commit

Permalink
bump alpine base image version from 3.19.1 to 3.20.3 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm authored Oct 25, 2024
1 parent 70da7ad commit c50d9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22 as builder
FROM golang:1.22 AS builder
ARG TARGETOS
ARG TARGETARCH
ARG VERSION
Expand All @@ -34,7 +34,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build \
-X github.com/undistro/marvin/pkg/version.commit=${COMMIT} \
-X github.com/undistro/marvin/pkg/version.date=${DATE}" -a -o marvin main.go

FROM alpine:3.19.1
FROM alpine:3.20.3
RUN apk upgrade && rm /var/cache/apk/*
RUN addgroup -g 8494 -S nonroot && adduser -u 8494 -D -S nonroot -G nonroot
USER 8494:8494
Expand Down

0 comments on commit c50d9ea

Please sign in to comment.