Files
kubevpn/build/test.Dockerfile
naison 991a840db2 feat: add manifest helm chart (#145)
* 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>
2024-02-15 12:44:17 +08:00

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