mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
* feat: add manifest helm chart * fix: typo * feat: helm chart * feat: add github action to release helm chart --------- Co-authored-by: wencaiwulue <895703375@qq.com>
15 lines
653 B
Docker
15 lines
653 B
Docker
FROM naison/kubevpn:latest
|
|
|
|
WORKDIR /app
|
|
|
|
RUN if [ $(uname -m) = "x86_64" ]; then \
|
|
echo "The architecture is AMD64"; \
|
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && chmod +x kubectl && mv kubectl /usr/local/bin; \
|
|
elif [ $(uname -m) = "aarch64" ]; then \
|
|
echo "The architecture is ARM64"; \
|
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl" && chmod +x kubectl && mv kubectl /usr/local/bin; \
|
|
else \
|
|
echo "Unsupported architecture."; \
|
|
fi
|
|
|
|
COPY bin/kubevpn /usr/local/bin/kubevpn |