Skip to content

Commit e702514

Browse files
committed
Updated Golang version for Docker build image
1 parent 8721f3c commit e702514

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-alpine3.17 AS build
1+
FROM golang:1.20-alpine3.17 AS build
22

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

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

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

2322
CMD ["process"]

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func main() {
2929
version.NewVersionCommand(),
3030
)
3131

32-
root.PersistentFlags().String(flags.FlagHome, types.DefaultHomeDirectory, "home")
32+
root.PersistentFlags().String(flags.FlagHome, types.DefaultHomeDirectory, "home directory")
3333
root.PersistentFlags().String(flags.FlagLogFormat, "plain", "log format")
3434
root.PersistentFlags().String(flags.FlagLogLevel, "info", "log level")
3535

0 commit comments

Comments
 (0)