File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ RUN \
3333 echo "**** install github-desktop ****" && \
3434 if [ -z ${GHDESKTOP_VERSION+x} ]; then \
3535 GHDESKTOP_VERSION=$(curl -sX GET "https://api.github.com/repos/shiftkey/desktop/releases/latest" \
36- | awk '/tag_name/{print $4;exit}' FS= '[""] ' ); \
36+ | jq -r '.tag_name ' ); \
3737 fi && \
3838 curl -o \
3939 /tmp/ghdesktop.deb -L \
4040 "https://github.com/shiftkey/desktop/releases/download/${GHDESKTOP_VERSION}/GitHubDesktop-linux-amd64-${GHDESKTOP_VERSION#release-}.deb" && \
4141 apt install --no-install-recommends -y /tmp/ghdesktop.deb && \
4242 echo "**** install codium ****" && \
4343 CODIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/VSCodium/vscodium/releases/latest" \
44- | awk '/tag_name/{print $4;exit}' FS= '[""] ' ); \
44+ | jq -r '.tag_name ' ); \
4545 curl -o \
4646 /tmp/codium.deb -L \
4747 "https://github.com/VSCodium/vscodium/releases/download/${CODIUM_VERSION}/codium_${CODIUM_VERSION}_amd64.deb" && \
Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ RUN \
3333 echo "**** install github-desktop ****" && \
3434 if [ -z ${GHDESKTOP_VERSION+x} ]; then \
3535 GHDESKTOP_VERSION=$(curl -sX GET "https://api.github.com/repos/shiftkey/desktop/releases/latest" \
36- | awk '/tag_name/{print $4;exit}' FS='[""] '); \
36+ | jq -r '.tag_name '); \
3737 fi && \
3838 curl -o \
3939 /tmp/ghdesktop.deb -L \
4040 "https://github.com/shiftkey/desktop/releases/download/${GHDESKTOP_VERSION}/GitHubDesktop-linux-arm64-${GHDESKTOP_VERSION#release-}.deb" && \
4141 apt install --no-install-recommends -y /tmp/ghdesktop.deb && \
4242 echo "**** install codium ****" && \
4343 CODIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/VSCodium/vscodium/releases/latest" \
44- | awk '/tag_name/{print $4;exit}' FS='[""] '); \
44+ | jq -r '.tag_name '); \
4545 curl -o \
4646 /tmp/codium.deb -L \
4747 "https://github.com/VSCodium/vscodium/releases/download/${CODIUM_VERSION}/codium_${CODIUM_VERSION}_arm64.deb" && \
You can’t perform that action at this time.
0 commit comments