Skip to content

Commit

Permalink
changed gcm to deb install
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Marcotte committed Jul 23, 2024
1 parent 597d79c commit ed9a720
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 14 deletions.
10 changes: 8 additions & 2 deletions docker-bits/4_CLI.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 8 additions & 2 deletions output/jupyterlab-cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions output/jupyterlab-pytorch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions output/jupyterlab-tensorflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions output/remote-desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions output/rstudio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions output/sas/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed9a720

Please sign in to comment.