Skip to content

Commit

Permalink
Merge pull request #97 from mhamzahkhan/master
Browse files Browse the repository at this point in the history
Update docker image to address some CVEs
  • Loading branch information
yukimochi authored Jul 31, 2024
2 parents 528e801 + 22110e3 commit 7fae274
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
@@ -1,4 +1,4 @@
FROM golang:1.21.6-alpine AS build
FROM golang:1.22.5-alpine AS build

WORKDIR /Activity-Relay
COPY . /Activity-Relay
Expand All @@ -7,7 +7,7 @@ RUN mkdir -p /rootfs/usr/bin && \
apk add -U --no-cache git && \
go build -o /rootfs/usr/bin/relay -ldflags "-X main.version=$(git describe --tags HEAD | sed -r 's/v(.*)/\1/')" .

FROM alpine:3.19.1
FROM alpine:3.20.2

COPY --from=build /rootfs/usr/bin /usr/bin
RUN chmod +x /usr/bin/relay && \
Expand Down

0 comments on commit 7fae274

Please sign in to comment.