Skip to content

Commit 2d03cee

Browse files
committed
fix ccache download filename (use glibc variant)
1 parent e777549 commit 2d03cee

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.devcontainer/debian/12-bookworm/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,12 @@ RUN echo "VCPKG" && \
290290
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
291291
RUN echo "CCACHE" && \
292292
version="$(curl -s https://api.github.com/repos/ccache/ccache/releases/latest | jq -r '.tag_name' | cut -c 2-)"; echo "Latest Version: \"$version\"" && \
293-
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64.tar.xz"; echo "Download URL: \"$url\"" && \
293+
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64-glibc.tar.xz"; echo "Download URL: \"$url\"" && \
294294
curl $CURL_OPTIONS -sLO $url && \
295295
mkdir -p /opt/ccache/bin &&\
296-
tar xf ccache-$version-linux-x86_64.tar.xz --strip-components=1 -C /opt/ccache/bin && \
296+
tar xf ccache-$version-linux-x86_64-glibc.tar.xz --strip-components=1 -C /opt/ccache/bin && \
297297
ln -s /opt/ccache/bin/ccache /usr/bin && \
298-
rm ccache-$version-linux-x86_64.tar.xz
298+
rm ccache-$version-linux-x86_64-glibc.tar.xz
299299

300300
#
301301
# 8888888b. .d88888b. Y88b d88P Y88b d88P .d8888b. 8888888888 888b 888

.devcontainer/debian/13-trixie/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ RUN echo "VCPKG" && \
312312
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
313313
RUN echo "CCACHE" && \
314314
version="$(curl -s https://api.github.com/repos/ccache/ccache/releases/latest | jq -r '.tag_name' | cut -c 2-)"; echo "Latest Version: \"$version\"" && \
315-
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64.tar.xz"; echo "Download URL: \"$url\"" && \
315+
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64-glibc.tar.xz"; echo "Download URL: \"$url\"" && \
316316
curl $CURL_OPTIONS -sLO $url && \
317317
mkdir -p /opt/ccache/bin &&\
318-
tar xf ccache-$version-linux-x86_64.tar.xz --strip-components=1 -C /opt/ccache/bin && \
318+
tar xf ccache-$version-linux-x86_64-glibc.tar.xz --strip-components=1 -C /opt/ccache/bin && \
319319
ln -s /opt/ccache/bin/ccache /usr/bin && \
320-
rm ccache-$version-linux-x86_64.tar.xz
320+
rm ccache-$version-linux-x86_64-glibc.tar.xz
321321

322322
#
323323
# 8888888b. .d88888b. Y88b d88P Y88b d88P .d8888b. 8888888888 888b 888

.devcontainer/debian/13-trixie/Dockerfile.ikos.backup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,12 @@ RUN echo "VCPKG" && \
385385
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
386386
RUN echo "CCACHE" && \
387387
version="$(curl -s https://api.github.com/repos/ccache/ccache/releases/latest | jq -r '.tag_name' | cut -c 2-)"; echo "Latest Version: \"$version\"" && \
388-
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64.tar.xz"; echo "Download URL: \"$url\"" && \
388+
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64-glibc.tar.xz"; echo "Download URL: \"$url\"" && \
389389
curl $CURL_OPTIONS -sLO $url && \
390390
mkdir -p /opt/ccache/bin &&\
391-
tar xf ccache-$version-linux-x86_64.tar.xz --strip-components=1 -C /opt/ccache/bin && \
391+
tar xf ccache-$version-linux-x86_64-glibc.tar.xz --strip-components=1 -C /opt/ccache/bin && \
392392
ln -s /opt/ccache/bin/ccache /usr/bin && \
393-
rm ccache-$version-linux-x86_64.tar.xz
393+
rm ccache-$version-linux-x86_64-glibc.tar.xz
394394

395395
#
396396
# 888 .d8888b. 8888888b. 888 888 8888888888 888b 888

.devcontainer/debian/14-forky/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ RUN echo "VCPKG" && \
312312
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
313313
RUN echo "CCACHE" && \
314314
version="$(curl -s https://api.github.com/repos/ccache/ccache/releases/latest | jq -r '.tag_name' | cut -c 2-)"; echo "Latest Version: \"$version\"" && \
315-
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64.tar.xz"; echo "Download URL: \"$url\"" && \
315+
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64-glibc.tar.xz"; echo "Download URL: \"$url\"" && \
316316
curl $CURL_OPTIONS -sLO $url && \
317317
mkdir -p /opt/ccache/bin &&\
318-
tar xf ccache-$version-linux-x86_64.tar.xz --strip-components=1 -C /opt/ccache/bin && \
318+
tar xf ccache-$version-linux-x86_64-glibc.tar.xz --strip-components=1 -C /opt/ccache/bin && \
319319
ln -s /opt/ccache/bin/ccache /usr/bin && \
320-
rm ccache-$version-linux-x86_64.tar.xz
320+
rm ccache-$version-linux-x86_64-glibc.tar.xz
321321

322322
#
323323
# 8888888b. .d88888b. Y88b d88P Y88b d88P .d8888b. 8888888888 888b 888

.devcontainer/debian/sid-unstable/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ RUN echo "VCPKG" && \
312312
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
313313
RUN echo "CCACHE" && \
314314
version="$(curl -s https://api.github.com/repos/ccache/ccache/releases/latest | jq -r '.tag_name' | cut -c 2-)"; echo "Latest Version: \"$version\"" && \
315-
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64.tar.xz"; echo "Download URL: \"$url\"" && \
315+
url="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version-linux-x86_64-glibc.tar.xz"; echo "Download URL: \"$url\"" && \
316316
curl $CURL_OPTIONS -sLO $url && \
317317
mkdir -p /opt/ccache/bin &&\
318-
tar xf ccache-$version-linux-x86_64.tar.xz --strip-components=1 -C /opt/ccache/bin && \
318+
tar xf ccache-$version-linux-x86_64-glibc.tar.xz --strip-components=1 -C /opt/ccache/bin && \
319319
ln -s /opt/ccache/bin/ccache /usr/bin && \
320-
rm ccache-$version-linux-x86_64.tar.xz
320+
rm ccache-$version-linux-x86_64-glibc.tar.xz
321321

322322
#
323323
# 8888888b. .d88888b. Y88b d88P Y88b d88P .d8888b. 8888888888 888b 888

0 commit comments

Comments
 (0)