new file: Dockerfile

new file:   Makefile
	new file:   entrypoint.sh
Initial commit
This commit is contained in:
Jonathan Ervine
2020-04-28 22:17:40 +08:00
parent 97d95ac191
commit b2d589706d
3 changed files with 258 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM harbor.ervine.dev/library/x86_64/suse//stepca
ENV CA_NAME="Home CA"
ENV CA_DNS="127.0.0.1"
ENV CA_ADDRESS=":9000"
ENV CA_DEFAULT_PROVISIONER="admin"
ENV CA_URL="https://127.0.0.1:9000"
ENV KUBE_LATEST_VERSION="v1.14.2"
USER root
RUN curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
RUN apk --update add expect
COPY entrypoint.sh /home/step/
RUN chmod +x /home/step/entrypoint.sh
CMD ["/home/step/entrypoint.sh"]