Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Jan 28, 2024
1 parent 3ca9522 commit 9f13d86
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.5-alpine3.18 as builder
FROM golang:1.22rc2-alpine3.18 as builder

RUN apk add --no-cache git gmp-dev build-base g++ openssl-dev
ADD . /ttrace
Expand All @@ -9,7 +9,7 @@ RUN cd /ttrace && \


## Copy binary files from builder into second container
FROM golang:1.21.5-alpine3.18
FROM golang:1.22rc2-alpine3.18

COPY --from=builder /timetrace/build/ttrace /usr/bin

Expand Down

0 comments on commit 9f13d86

Please sign in to comment.