Browse Source

removing change

afeiszli 2 years ago
parent
commit
2b2b37558f
1 changed files with 0 additions and 22 deletions
  1. 0 22
      docker/Dockerfile-netclient-multiarch-kernel

+ 0 - 22
docker/Dockerfile-netclient-multiarch-kernel

@@ -1,22 +0,0 @@
-FROM gravitl/go-builder as builder
-# add glib support daemon manager
-WORKDIR /app
-ARG version
-
-COPY . .
-
-ENV GO111MODULE=auto
-
-RUN GOOS=linux CGO_ENABLED=0 /usr/local/go/bin/go build -ldflags="-X 'main.version=${version}'" -o netclient-app netclient/main.go
-
-FROM alpine:3.15.2
-
-WORKDIR /root/
-
-RUN apk add --no-cache --update bash libmnl gcompat iptables openresolv iproute2 wireguard-tools 
-COPY --from=builder /app/netclient-app ./netclient
-COPY --from=builder /app/scripts/netclient.sh .
-RUN chmod 0755 netclient && chmod 0755 netclient.sh
-
-
-ENTRYPOINT ["/bin/bash", "./netclient.sh"]