Remove erroneous -O flag for curl
This commit is contained in:
parent
631aab4f0e
commit
880302ffbe
|
@ -1,6 +1,6 @@
|
||||||
FROM alpine:3.4
|
FROM alpine:3.4
|
||||||
RUN apk --no-cache add curl ca-certificates bash
|
RUN apk --no-cache add curl ca-certificates bash
|
||||||
RUN curl -o /usr/local/bin/kubectl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
RUN curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
||||||
RUN chmod +x /usr/local/bin/kubectl
|
RUN chmod +x /usr/local/bin/kubectl
|
||||||
COPY update.sh /bin/
|
COPY update.sh /bin/
|
||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
|
@ -28,6 +28,7 @@ fi
|
||||||
kubectl config set-context default --cluster=default --user=default
|
kubectl config set-context default --cluster=default --user=default
|
||||||
kubectl config use-context default
|
kubectl config use-context default
|
||||||
|
|
||||||
|
# kubectl version
|
||||||
IFS=',' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT"
|
IFS=',' read -r -a DEPLOYMENTS <<< "$PLUGIN_DEPLOYMENT"
|
||||||
for DEPLOY in ${DEPLOYMENTS[@]}; do
|
for DEPLOY in ${DEPLOYMENTS[@]}; do
|
||||||
echo Deploying to $KUBERNETES_SERVER
|
echo Deploying to $KUBERNETES_SERVER
|
||||||
|
|
Loading…
Reference in New Issue