Skip to content

Commit

Permalink
Update base images. Fixes #363
Browse files Browse the repository at this point in the history
  • Loading branch information
loafoe committed Jan 18, 2024
1 parent 9b56773 commit b3f5dd3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.1-alpine as builder
FROM golang:1.21.6-alpine as builder
RUN apk --no-cache add git
WORKDIR /build
COPY go.mod .
Expand All @@ -11,7 +11,7 @@ RUN git rev-parse --short HEAD
RUN GIT_COMMIT=$(git rev-parse --short HEAD) && \
CGO_ENABLED=0 go build -o app -ldflags "-X main.GitCommit=${GIT_COMMIT}"

FROM alpine:latest
FROM alpine:3.19.0
RUN apk --no-cache add ca-certificates
ENV HOME /root
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.3-alpine3.13
FROM golang:1.21.6-alpine
RUN apk add --no-cache git openssh gcc musl-dev

WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.19.0
LABEL maintainer="Andy Lo-A-Foe <andy.lo-a-foe@philips.com>"

RUN apk --no-cache add ca-certificates
Expand Down

0 comments on commit b3f5dd3

Please sign in to comment.