⬆️ Chore: Upgrade Dockerfile image versions

This commit is contained in:
James Musselman 2024-07-02 14:14:03 -05:00
parent 0f07fe7d58
commit e32238ad4d
Signed by: Musselman
GPG key ID: 1DAEFF35ECB5D6DB

View file

@ -1,5 +1,5 @@
# Set the base image # Set the base image
FROM docker.io/library/golang:1.21-alpine3.18 as builder FROM docker.io/library/golang:1.21-alpine3.20 as builder
RUN apk --no-cache add ca-certificates git RUN apk --no-cache add ca-certificates git
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app
@ -11,7 +11,7 @@ COPY . .
RUN go build -o notatio RUN go build -o notatio
# Switch to the base Alpine image # Switch to the base Alpine image
FROM docker.io/library/alpine:3.18.4 FROM docker.io/library/alpine:3.20.1
# Set the user and working directory # Set the user and working directory
RUN adduser -D notatio RUN adduser -D notatio