From ed9a7203a17453fbfdc271025c9ff41da2192dc4 Mon Sep 17 00:00:00 2001 From: Mathis Marcotte Date: Tue, 23 Jul 2024 19:28:53 +0000 Subject: [PATCH] changed gcm to deb install --- docker-bits/4_CLI.Dockerfile | 10 ++++++++-- output/jupyterlab-cpu/Dockerfile | 10 ++++++++-- output/jupyterlab-pytorch/Dockerfile | 10 ++++++++-- output/jupyterlab-tensorflow/Dockerfile | 10 ++++++++-- output/remote-desktop/Dockerfile | 10 ++++++++-- output/rstudio/Dockerfile | 10 ++++++++-- output/sas/Dockerfile | 10 ++++++++-- 7 files changed, 56 insertions(+), 14 deletions(-) diff --git a/docker-bits/4_CLI.Dockerfile b/docker-bits/4_CLI.Dockerfile index 8e542f151..0aa1413fe 100644 --- a/docker-bits/4_CLI.Dockerfile +++ b/docker-bits/4_CLI.Dockerfile @@ -87,8 +87,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg diff --git a/output/jupyterlab-cpu/Dockerfile b/output/jupyterlab-cpu/Dockerfile index 50215807a..a445d6c64 100644 --- a/output/jupyterlab-cpu/Dockerfile +++ b/output/jupyterlab-cpu/Dockerfile @@ -144,8 +144,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg diff --git a/output/jupyterlab-pytorch/Dockerfile b/output/jupyterlab-pytorch/Dockerfile index d3f3c770c..4da97967a 100644 --- a/output/jupyterlab-pytorch/Dockerfile +++ b/output/jupyterlab-pytorch/Dockerfile @@ -166,8 +166,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg diff --git a/output/jupyterlab-tensorflow/Dockerfile b/output/jupyterlab-tensorflow/Dockerfile index 3a66f192c..01816698c 100644 --- a/output/jupyterlab-tensorflow/Dockerfile +++ b/output/jupyterlab-tensorflow/Dockerfile @@ -273,8 +273,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg diff --git a/output/remote-desktop/Dockerfile b/output/remote-desktop/Dockerfile index c91c2325b..49ad0c476 100644 --- a/output/remote-desktop/Dockerfile +++ b/output/remote-desktop/Dockerfile @@ -219,8 +219,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg diff --git a/output/rstudio/Dockerfile b/output/rstudio/Dockerfile index 905820571..6ea7c30c7 100644 --- a/output/rstudio/Dockerfile +++ b/output/rstudio/Dockerfile @@ -144,8 +144,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg diff --git a/output/sas/Dockerfile b/output/sas/Dockerfile index 8e4dde754..cab91a764 100644 --- a/output/sas/Dockerfile +++ b/output/sas/Dockerfile @@ -146,8 +146,14 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version -ARG GIT_CRED_MANAGER_URL=https://aka.ms/gcm/linux-install-source.sh -RUN curl -L ${GIT_CRED_MANAGER_URL} | sh +ARG GIT_CRED_MANAGER_VERSION=v2.5.1 +ARG GIT_CRED_MANAGER_URL=https://github.com/git-ecosystem/git-credential-manager/releases/download/v${GIT_CRED_MANAGER_VERSION}/gcm-linux_amd64.${GIT_CRED_MANAGER_VERSION}.deb +ARG GIT_CRED_MANAGER_SHA=7980a13961a21b9aeb303e02a455b4864f074b7f968f7d3e3b67e646eaa6ec67 + +RUN wget -q "${GIT_CRED_MANAGER_URL}" -O ./gcm.deb \ + && echo "${GIT_CRED_MANAGER_SHA} ./gcm.deb" | sha256sum -c - \ + && dpkg -i ./gcm.deb \ + && rm ./gcm.deb \ # RUN curl -L ${GIT_CRED_MANAGER_URL} | sh \ # && git-credential-manager configure # RUN git config --global credential.credentialStore gpg