Skip to content

Commit

Permalink
Next batch of arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Dec 13, 2024
1 parent c431ed7 commit 43916de
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
18 changes: 17 additions & 1 deletion tools/gcloud/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,23 @@ ARG name
ARG version
WORKDIR /uniget_bootstrap/opt/gcloud
RUN --mount=type=cache,target=/var/cache/uniget/download <<EOF
url="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-${version}-linux-${arch}.tar.gz"
echo "### Setting architecture string for ${TARGETPLATFORM}"
case "${arch}" in
x86_64)
export arch_suffix="${arch}"
;;
aarch64)
export arch_suffix="arm"
;;
*)
echo "ERROR: Unsupported architecture ${arch}."
exit 1
;;
esac
echo " Using ${arch_suffix}"

# https://cloud.google.com/sdk/docs/downloads-versioned-archives?hl=de
url="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-${version}-linux-${arch_suffix}.tar.gz"
filename="$( basename "${url}" )"

check-download "${url}"
Expand Down
2 changes: 1 addition & 1 deletion tools/gcloud/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runtime_dependencies:
- python
platforms:
- linux/amd64
#- linux/arm64
- linux/arm64
tags:
- org/google
- category/development
Expand Down
2 changes: 1 addition & 1 deletion tools/gnuplot/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: "5.4.8"
check: ${binary} --version | cut -d' ' -f2- | tr '[a-z ]' '.' | tr -s .
platforms:
- linux/amd64
#- linux/arm64
- linux/arm64
tags:
- category/development
- lang/c
Expand Down
2 changes: 1 addition & 1 deletion tools/sonar-scanner/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ case "${arch}" in
export arch_suffix=x64
;;
aarch64)
export arch_suffix=arm64
export arch_suffix=${arch}
;;
*)
echo "ERROR: Unsupported architecture ${arch}."
Expand Down
2 changes: 1 addition & 1 deletion tools/sonar-scanner/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runtime_dependencies:
- openjdk-jre
platforms:
- linux/amd64
#- linux/arm64
- linux/arm64
tags:
- org/sonarsource
- type/cli
Expand Down
2 changes: 1 addition & 1 deletion tools/tshark/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_dependencies:
- speexdsp
platforms:
- linux/amd64
#- linux/arm64
- linux/arm64
tags:
- org/wireshark
- category/operations
Expand Down
2 changes: 1 addition & 1 deletion tools/vscode-cli/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#syntax=docker/dockerfile:1.12.0@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5

FROM registry.gitlab.com/uniget-org/images/ubuntu:24.04 AS prepare
FROM registry.gitlab.com/uniget-org/images/ubuntu:rolling AS prepare
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
Expand Down
2 changes: 1 addition & 1 deletion tools/vscode-cli/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ binary: code
check: ${binary} --version | cut -d' ' -f2
platforms:
- linux/amd64
#- linux/arm64
- linux/arm64
tags:
- org/microsoft
- category/development
Expand Down

0 comments on commit 43916de

Please sign in to comment.