-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from deflect-ca/refactor/go-upgrade-1.22
Upgrade go to 1.22 and upgrades go mods
- Loading branch information
Showing
10 changed files
with
331 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# This source code is licensed under the BSD-style license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
FROM golang:1.17.0-buster | ||
FROM golang:1.22.6-bookworm | ||
|
||
RUN set -x \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get update \ | ||
|
@@ -30,9 +30,8 @@ EXPOSE 8081 | |
WORKDIR /opt/banjax | ||
|
||
# To enable live reload for dev, uncomment the following lines | ||
#COPY ./.air.toml /opt/banjax/ | ||
#RUN go mod edit -replace github.com/imdario/mergo=dario.cat/[email protected] | ||
#RUN go get -u github.com/cosmtrek/[email protected] | ||
#RUN mkdir -p /opt/banjax/tmp | ||
#CMD ["air"] | ||
# COPY ./.air.toml /opt/banjax/ | ||
# RUN go install github.com/air-verse/air@latest | ||
# RUN mkdir -p /opt/banjax/tmp | ||
# CMD ["air", "-c", ".air.toml"] | ||
CMD ["./banjax"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.