This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch support/1.12
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.12 by this push:
     new 73e2909  Workaround for winrm-cli issue in most recent alpine-docker 
image.     Pin winrm-cli to last working SHA.
73e2909 is described below

commit 73e290996e9fc04fb9bff17ba907f98cd1b417c7
Author: Owen Nichols <onich...@pivotal.io>
AuthorDate: Tue Mar 31 10:14:15 2020 -0700

    Workaround for winrm-cli issue in most recent alpine-docker image.
        Pin winrm-cli to last working SHA.
---
 ci/images/alpine-tools/Dockerfile | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/ci/images/alpine-tools/Dockerfile 
b/ci/images/alpine-tools/Dockerfile
index 49ee247..4028523 100644
--- a/ci/images/alpine-tools/Dockerfile
+++ b/ci/images/alpine-tools/Dockerfile
@@ -36,13 +36,10 @@ RUN apk --no-cache add \
   && gcloud config set core/disable_usage_reporting true \
   && gcloud config set component_manager/disable_update_check true \
   && gcloud config set metrics/environment github_docker_image \
-  && mkdir -p gopath \
-  && cd gopath \
-  && export GOPATH=$(pwd) \
-  && go get github.com/masterzen/winrm-cli \
-  && cp ${GOPATH}/bin/winrm-cli /usr/local/bin/winrm \
-  && cd ${GOPATH}/.. \
-  && rm -rf ${GOPATH} \
+  && git clone https://github.com/masterzen/winrm-cli \
+  && (cd winrm-cli; git reset --hard 6f0c57dee4569c04f64c44c335752b415e5d73a7 
; GOPATH=$PWD PATH=$PATH:$PWD/bin make) \
+  && cp winrm-cli/bin/winrm /usr/local/bin/ \
+  && rm -rf winrm-cli \
   && gcloud components install -q beta \
   && printf "Host *\n  ServerAliveInterval 60 \n  ServerAliveCountMax 2\n" >> 
/etc/ssh/ssh_config \
   && pip2 install awscli \

Reply via email to