Skip to content

Commit

Permalink
Bump gcc version and use unversioned Alpine base image
Browse files Browse the repository at this point in the history
  • Loading branch information
kusalananda committed Aug 29, 2024
1 parent 680719a commit d0a263c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18
FROM golang:1.20-alpine

ENV XDG_CACHE_HOME='/tmp/.cache'

Expand All @@ -8,7 +8,7 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]

RUN apk --no-cache add \
'curl=~8' \
'gcc=~12' \
'gcc=~13' \
'musl-dev=~1.2'; \
curl --silent --fail --location \
'https://raw.githubusercontent.com/cosmtrek/air/v1.44.0/install.sh' | \
Expand Down
2 changes: 1 addition & 1 deletion production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /go
COPY ./ .

RUN apk --no-cache add \
'gcc=~12' \
'gcc=~13' \
'musl-dev=~1.2'

ENV GOPATH=$PWD
Expand Down

0 comments on commit d0a263c

Please sign in to comment.