Skip to content

Commit

Permalink
Updated Golang version for Docker build image
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivas8687 committed Mar 2, 2023
1 parent 8721f3c commit e702514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17 AS build
FROM golang:1.20-alpine3.17 AS build

COPY . /go/src/github.com/sentinel-official/dvpn-node/

Expand All @@ -17,7 +17,6 @@ FROM alpine:3.17
COPY --from=build /go/bin/sentinelnode /usr/local/bin/process
COPY --from=build /root/hnsd/hnsd /usr/local/bin/hnsd

RUN apk add --no-cache ip6tables unbound-dev v2ray wireguard-tools && \
rm -rf /tmp/* /var/tmp/*
RUN apk add --no-cache ip6tables unbound-dev v2ray wireguard-tools

CMD ["process"]
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
version.NewVersionCommand(),
)

root.PersistentFlags().String(flags.FlagHome, types.DefaultHomeDirectory, "home")
root.PersistentFlags().String(flags.FlagHome, types.DefaultHomeDirectory, "home directory")
root.PersistentFlags().String(flags.FlagLogFormat, "plain", "log format")
root.PersistentFlags().String(flags.FlagLogLevel, "info", "log level")

Expand Down

0 comments on commit e702514

Please sign in to comment.