From 8c74e38ab001e62a6e46ea70873d64e4649d5527 Mon Sep 17 00:00:00 2001 From: Mathis Marcotte Date: Tue, 23 Jul 2024 20:24:58 +0000 Subject: [PATCH] added new git cred manager args --- docker-bits/4_CLI.Dockerfile | 12 ++++++++++++ output/jupyterlab-cpu/Dockerfile | 12 ++++++++++++ output/jupyterlab-pytorch/Dockerfile | 12 ++++++++++++ output/jupyterlab-tensorflow/Dockerfile | 12 ++++++++++++ output/remote-desktop/Dockerfile | 12 ++++++++++++ output/rstudio/Dockerfile | 12 ++++++++++++ output/sas/Dockerfile | 12 ++++++++++++ 7 files changed, 84 insertions(+) diff --git a/docker-bits/4_CLI.Dockerfile b/docker-bits/4_CLI.Dockerfile index d8d48c5d1..92f69d5f2 100644 --- a/docker-bits/4_CLI.Dockerfile +++ b/docker-bits/4_CLI.Dockerfile @@ -86,3 +86,15 @@ RUN \ && chmod +x argo-linux-amd64 \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version + +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 f755ce1be..7f409da2a 100644 --- a/output/jupyterlab-cpu/Dockerfile +++ b/output/jupyterlab-cpu/Dockerfile @@ -144,6 +144,18 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version +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 + ############################### ### docker-bits/5_DB-Drivers.Dockerfile ############################### diff --git a/output/jupyterlab-pytorch/Dockerfile b/output/jupyterlab-pytorch/Dockerfile index a1cef89c0..92592319c 100644 --- a/output/jupyterlab-pytorch/Dockerfile +++ b/output/jupyterlab-pytorch/Dockerfile @@ -166,6 +166,18 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version +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 + ############################### ### docker-bits/5_DB-Drivers.Dockerfile ############################### diff --git a/output/jupyterlab-tensorflow/Dockerfile b/output/jupyterlab-tensorflow/Dockerfile index ed2ace0c8..f2133c5c5 100644 --- a/output/jupyterlab-tensorflow/Dockerfile +++ b/output/jupyterlab-tensorflow/Dockerfile @@ -273,6 +273,18 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version +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 + ############################### ### docker-bits/5_DB-Drivers.Dockerfile ############################### diff --git a/output/remote-desktop/Dockerfile b/output/remote-desktop/Dockerfile index fa6eb14ea..f5e242188 100644 --- a/output/remote-desktop/Dockerfile +++ b/output/remote-desktop/Dockerfile @@ -219,6 +219,18 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version +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 + ############################### ### docker-bits/6_remote-desktop.Dockerfile ############################### diff --git a/output/rstudio/Dockerfile b/output/rstudio/Dockerfile index 6c16304b9..f3749af9b 100644 --- a/output/rstudio/Dockerfile +++ b/output/rstudio/Dockerfile @@ -144,6 +144,18 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version +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 + ############################### ### docker-bits/5_DB-Drivers.Dockerfile ############################### diff --git a/output/sas/Dockerfile b/output/sas/Dockerfile index d06500195..98ef8cec1 100644 --- a/output/sas/Dockerfile +++ b/output/sas/Dockerfile @@ -146,6 +146,18 @@ RUN \ && sudo mv ./argo-linux-amd64 /usr/local/bin/argo \ && argo version +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 + ############################### ### docker-bits/5_DB-Drivers.Dockerfile ###############################