mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
fix: add dockerfile for building locally
This commit is contained in:
10
build/control_plane/local.Dockerfile
Normal file
10
build/control_plane/local.Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN sed -i s@/security.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
|
||||
&& sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
|
||||
RUN apt-get clean && apt-get update && apt-get install -y wget dnsutils vim curl \
|
||||
net-tools iptables iputils-ping lsof iproute2 tcpdump
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY bin/envoy-xds-server /bin/envoy-xds-server
|
||||
10
build/server/local.Dockerfile
Normal file
10
build/server/local.Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN sed -i s@/security.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
|
||||
&& sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
|
||||
RUN apt-get clean && apt-get update && apt-get install -y wget dnsutils vim curl \
|
||||
net-tools iptables iputils-ping lsof iproute2 tcpdump
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY bin/kubevpn-linux-amd64 /usr/local/bin/kubevpn
|
||||
Reference in New Issue
Block a user