Skip to content

Commit

Permalink
add gcc to be able to run with --race
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Jan 12, 2024
1 parent fbfe603 commit f974fae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ENV \
STATIK=0.1.7 \
GORELEASER=1.20.0

# install gcc in order to be able to go test package with -race
RUN apk --no-cache add gcc libc-dev

RUN \
apk add --no-cache --update tzdata git bash curl && \
echo "${TIME_ZONE}" > /etc/timezone && \
Expand Down

0 comments on commit f974fae

Please sign in to comment.