Skip to content

Commit

Permalink
use an older version of air
Browse files Browse the repository at this point in the history
The latest version isn't compatible with go 1.22. Plus, pinning
versions is a good thing so interruptions like this one in the build
process don't happen.
  • Loading branch information
ewollesen committed Feb 18, 2025
1 parent 2f18755 commit e12400d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN adduser -D tidepool && \
apk add --no-cache git gcc musl-dev && \
chown -R tidepool /go/src/github.com/tidepool-org/shoreline
USER tidepool
RUN go install github.com/cosmtrek/air@latest
RUN go install github.com/air-verse/air@v1.52.2
COPY --chown=tidepool . .
RUN ./build.sh
CMD ["air"]
Expand Down

0 comments on commit e12400d

Please sign in to comment.