Skip to content

Commit a83a139

Browse files
bdovazbdominguez
authored andcommitted
Run update.sh --doc
1 parent 2990b27 commit a83a139

File tree

136 files changed

+703
-660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+703
-660
lines changed

docs/descriptors/arm.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,20 @@ description: arm-ttk is available to analyze ARM files in MegaLinter
3535

3636
- Dockerfile commands :
3737
```dockerfile
38+
ARG TARGETPLATFORM
3839
ARG PWSH_VERSION='latest'
3940
ARG PWSH_DIRECTORY='/opt/microsoft/powershell'
40-
RUN mkdir -p ${PWSH_DIRECTORY} \
41+
RUN case ${TARGETPLATFORM} in \
42+
"linux/amd64") POWERSHELL_ARCH=alpine-x64 ;; \
43+
"linux/arm64") POWERSHELL_ARCH=arm64 ;; \
44+
esac \
45+
&& mkdir -p ${PWSH_DIRECTORY} \
4146
&& curl --retry 5 --retry-delay 5 -s \
4247
-H "Accept: application/vnd.github+json" \
4348
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
4449
https://api.github.com/repos/powershell/powershell/releases/${PWSH_VERSION} \
4550
| grep browser_download_url \
46-
| grep linux-alpine-x64 \
51+
| grep linux-${POWERSHELL_ARCH} \
4752
| cut -d '"' -f 4 \
4853
| xargs -n 1 wget -O - \
4954
| tar -xzC ${PWSH_DIRECTORY} \

docs/descriptors/arm_arm_ttk.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,20 @@ pwsh -NoProfile -NoLogo -Command "
102102
- Dockerfile commands :
103103
```dockerfile
104104
# Parent descriptor install
105+
ARG TARGETPLATFORM
105106
ARG PWSH_VERSION='latest'
106107
ARG PWSH_DIRECTORY='/opt/microsoft/powershell'
107-
RUN mkdir -p ${PWSH_DIRECTORY} \
108+
RUN case ${TARGETPLATFORM} in \
109+
"linux/amd64") POWERSHELL_ARCH=alpine-x64 ;; \
110+
"linux/arm64") POWERSHELL_ARCH=arm64 ;; \
111+
esac \
112+
&& mkdir -p ${PWSH_DIRECTORY} \
108113
&& curl --retry 5 --retry-delay 5 -s \
109114
-H "Accept: application/vnd.github+json" \
110115
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
111116
https://api.github.com/repos/powershell/powershell/releases/${PWSH_VERSION} \
112117
| grep browser_download_url \
113-
| grep linux-alpine-x64 \
118+
| grep linux-${POWERSHELL_ARCH} \
114119
| cut -d '"' -f 4 \
115120
| xargs -n 1 wget -O - \
116121
| tar -xzC ${PWSH_DIRECTORY} \

docs/descriptors/bicep_bicep_linter.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,16 @@ Usage:
220220
221221
- Dockerfile commands :
222222
```dockerfile
223+
ARG TARGETPLATFORM
223224
ARG BICEP_EXE='bicep'
224-
ARG BICEP_URI='https://github.com/Azure/bicep/releases/latest/download/bicep-linux-musl-x64'
225225
ARG BICEP_DIR='/usr/local/bin'
226-
RUN curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "${BICEP_URI}" \
227-
&& chmod +x "${BICEP_EXE}" \
228-
&& mv "${BICEP_EXE}" "${BICEP_DIR}"
226+
RUN case ${TARGETPLATFORM} in \
227+
"linux/amd64") POWERSHELL_ARCH=musl-x64 ;; \
228+
"linux/arm64") POWERSHELL_ARCH=arm64 ;; \
229+
esac \
230+
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "https://github.com/Azure/bicep/releases/latest/download/bicep-linux-${POWERSHELL_ARCH}" \
231+
&& chmod +x "${BICEP_EXE}" \
232+
&& mv "${BICEP_EXE}" "${BICEP_DIR}"
229233

230234
```
231235

docs/descriptors/dart_dartanalyzer.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,17 @@ For more information, see https://www.dartlang.org/tools/analyzer.
116116

117117
- Dockerfile commands :
118118
```dockerfile
119+
ARG TARGETPLATFORM
119120
ARG DART_VERSION='2.8.4'
120121
ARG GLIBC_VERSION='2.34-r0'
121-
RUN wget --tries=50 -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
122+
RUN case ${TARGETPLATFORM} in \
123+
"linux/amd64") DART_ARCH=x64 ;; \
124+
"linux/arm64") DART_ARCH=arm64 ;; \
125+
esac \
126+
&& wget --tries=5 -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
122127
&& wget --tries=5 -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \
123-
&& apk add --force-overwrite --no-cache glibc-${GLIBC_VERSION}.apk && rm glibc-${GLIBC_VERSION}.apk \
124-
&& wget --tries=5 https://storage.googleapis.com/dart-archive/channels/stable/release/${DART_VERSION}/sdk/dartsdk-linux-x64-release.zip -O - -q | unzip -q - \
128+
&& apk add --no-cache glibc-${GLIBC_VERSION}.apk && rm glibc-${GLIBC_VERSION}.apk \
129+
&& wget --tries=5 https://storage.googleapis.com/dart-archive/channels/stable/release/${DART_VERSION}/sdk/dartsdk-linux-${DART_ARCH}-release.zip -O - -q | unzip -q - \
125130
&& chmod +x dart-sdk/bin/dart* \
126131
&& mv dart-sdk/bin/* /usr/bin/ && mv dart-sdk/lib/* /usr/lib/ && mv dart-sdk/include/* /usr/include/ \
127132
&& rm -r dart-sdk/

docs/descriptors/kubernetes_kubeconform.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,18 @@ Usage: kubeconform [OPTION]... [FILE OR FOLDER]...
131131
132132
- Dockerfile commands :
133133
```dockerfile
134-
RUN ML_THIRD_PARTY_DIR="/third-party/kubeconform" \
134+
ARG TARGETPLATFORM
135+
RUN case ${TARGETPLATFORM} in \
136+
"linux/amd64") KUBECONFORM_ARCH=linux-amd64 ;; \
137+
"linux/arm64") KUBECONFORM_ARCH=linux-arm64 ;; \
138+
esac \
139+
&& ML_THIRD_PARTY_DIR="/third-party/kubeconform" \
135140
&& KUBECONFORM_VERSION=v0.5.0 \
136141
&& mkdir -p ${ML_THIRD_PARTY_DIR} \
137-
&& wget -P ${ML_THIRD_PARTY_DIR} -q https://github.com/yannh/kubeconform/releases/download/$KUBECONFORM_VERSION/kubeconform-linux-amd64.tar.gz \
138-
&& tar xf ${ML_THIRD_PARTY_DIR}/kubeconform-linux-amd64.tar.gz --directory ${ML_THIRD_PARTY_DIR} \
142+
&& wget -P ${ML_THIRD_PARTY_DIR} -q https://github.com/yannh/kubeconform/releases/download/$KUBECONFORM_VERSION/kubeconform-${KUBECONFORM_ARCH}.tar.gz \
143+
&& tar xf ${ML_THIRD_PARTY_DIR}/kubeconform-${KUBECONFORM_ARCH}.tar.gz --directory ${ML_THIRD_PARTY_DIR} \
139144
&& mv ${ML_THIRD_PARTY_DIR}/kubeconform /usr/local/bin \
140-
&& rm ${ML_THIRD_PARTY_DIR}/kubeconform-linux-amd64.tar.gz \
145+
&& rm ${ML_THIRD_PARTY_DIR}/kubeconform-${KUBECONFORM_ARCH}.tar.gz \
141146
&& find ${ML_THIRD_PARTY_DIR} -type f -not -name 'LICENSE*' -delete -o -type d -empty -delete
142147
143148
```

docs/descriptors/kubernetes_kubeval.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,16 @@ Flags:
119119
120120
- Dockerfile commands :
121121
```dockerfile
122-
RUN ML_THIRD_PARTY_DIR="/third-party/kubeval" \
122+
ARG TARGETPLATFORM
123+
RUN case ${TARGETPLATFORM} in \
124+
"linux/amd64") KUBEVAL_ARCH=linux-amd64 ;; \
125+
esac \
126+
&& ML_THIRD_PARTY_DIR="/third-party/kubeval" \
123127
&& mkdir -p ${ML_THIRD_PARTY_DIR} \
124-
&& wget -P ${ML_THIRD_PARTY_DIR} -q https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz \
125-
&& tar xf ${ML_THIRD_PARTY_DIR}/kubeval-linux-amd64.tar.gz --directory ${ML_THIRD_PARTY_DIR} \
128+
&& wget -P ${ML_THIRD_PARTY_DIR} -q https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-${KUBEVAL_ARCH}.tar.gz \
129+
&& tar xf ${ML_THIRD_PARTY_DIR}/kubeval-${KUBEVAL_ARCH}.tar.gz --directory ${ML_THIRD_PARTY_DIR} \
126130
&& mv ${ML_THIRD_PARTY_DIR}/kubeval /usr/local/bin \
127-
&& rm ${ML_THIRD_PARTY_DIR}/kubeval-linux-amd64.tar.gz \
131+
&& rm ${ML_THIRD_PARTY_DIR}/kubeval-${KUBEVAL_ARCH}.tar.gz \
128132
&& find ${ML_THIRD_PARTY_DIR} -type f -not -name 'LICENSE*' -delete -o -type d -empty -delete
129133
130134
```

docs/descriptors/powershell.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,20 @@ description: powershell, powershell_formatter are available to analyze POWERSHEL
3939

4040
- Dockerfile commands :
4141
```dockerfile
42+
ARG TARGETPLATFORM
4243
ARG PWSH_VERSION='latest'
4344
ARG PWSH_DIRECTORY='/opt/microsoft/powershell'
44-
RUN mkdir -p ${PWSH_DIRECTORY} \
45+
RUN case ${TARGETPLATFORM} in \
46+
"linux/amd64") POWERSHELL_ARCH=alpine-x64 ;; \
47+
"linux/arm64") POWERSHELL_ARCH=arm64 ;; \
48+
esac \
49+
&& mkdir -p ${PWSH_DIRECTORY} \
4550
&& curl --retry 5 --retry-delay 5 -s \
4651
-H "Accept: application/vnd.github+json" \
4752
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
4853
https://api.github.com/repos/powershell/powershell/releases/${PWSH_VERSION} \
4954
| grep browser_download_url \
50-
| grep linux-alpine-x64 \
55+
| grep linux-${POWERSHELL_ARCH} \
5156
| cut -d '"' -f 4 \
5257
| xargs -n 1 wget -O - \
5358
| tar -xzC ${PWSH_DIRECTORY} \

docs/descriptors/powershell_powershell.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,20 @@ All parameters are case-insensitive.
404404
- Dockerfile commands :
405405
```dockerfile
406406
# Parent descriptor install
407+
ARG TARGETPLATFORM
407408
ARG PWSH_VERSION='latest'
408409
ARG PWSH_DIRECTORY='/opt/microsoft/powershell'
409-
RUN mkdir -p ${PWSH_DIRECTORY} \
410+
RUN case ${TARGETPLATFORM} in \
411+
"linux/amd64") POWERSHELL_ARCH=alpine-x64 ;; \
412+
"linux/arm64") POWERSHELL_ARCH=arm64 ;; \
413+
esac \
414+
&& mkdir -p ${PWSH_DIRECTORY} \
410415
&& curl --retry 5 --retry-delay 5 -s \
411416
-H "Accept: application/vnd.github+json" \
412417
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
413418
https://api.github.com/repos/powershell/powershell/releases/${PWSH_VERSION} \
414419
| grep browser_download_url \
415-
| grep linux-alpine-x64 \
420+
| grep linux-${POWERSHELL_ARCH} \
416421
| cut -d '"' -f 4 \
417422
| xargs -n 1 wget -O - \
418423
| tar -xzC ${PWSH_DIRECTORY} \

docs/descriptors/powershell_powershell_formatter.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,15 +405,20 @@ All parameters are case-insensitive.
405405
- Dockerfile commands :
406406
```dockerfile
407407
# Parent descriptor install
408+
ARG TARGETPLATFORM
408409
ARG PWSH_VERSION='latest'
409410
ARG PWSH_DIRECTORY='/opt/microsoft/powershell'
410-
RUN mkdir -p ${PWSH_DIRECTORY} \
411+
RUN case ${TARGETPLATFORM} in \
412+
"linux/amd64") POWERSHELL_ARCH=alpine-x64 ;; \
413+
"linux/arm64") POWERSHELL_ARCH=arm64 ;; \
414+
esac \
415+
&& mkdir -p ${PWSH_DIRECTORY} \
411416
&& curl --retry 5 --retry-delay 5 -s \
412417
-H "Accept: application/vnd.github+json" \
413418
-H "Authorization: Bearer $(cat /run/secrets/GITHUB_TOKEN)" \
414419
https://api.github.com/repos/powershell/powershell/releases/${PWSH_VERSION} \
415420
| grep browser_download_url \
416-
| grep linux-alpine-x64 \
421+
| grep linux-${POWERSHELL_ARCH} \
417422
| cut -d '"' -f 4 \
418423
| xargs -n 1 wget -O - \
419424
| tar -xzC ${PWSH_DIRECTORY} \

flavors/ci_light/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
2828
FROM python:3.11.2-alpine3.17
2929
ARG GITHUB_TOKEN
3030

31-
# https://stackoverflow.com/a/73711302/699056
31+
# https://stackoverflow.com/a/73711302/699056
3232
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
33-
# https://stackoverflow.com/a/73711302/699056
34-
# https://stackoverflow.com/a/73359981/699056
35-
# https://stackoverflow.com/a/71209637/699056
36-
RUN apk add --update libc6-compat \
33+
# https://stackoverflow.com/a/73711302/699056
34+
# https://stackoverflow.com/a/73359981/699056
35+
# https://stackoverflow.com/a/71209637/699056
36+
RUN apk add --update --no-cache libc6-compat \
3737
gcompat \
3838
qemu-x86_64
3939

flavors/cupcake/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
4747
FROM python:3.11.2-alpine3.17
4848
ARG GITHUB_TOKEN
4949

50-
# https://stackoverflow.com/a/73711302/699056
50+
# https://stackoverflow.com/a/73711302/699056
5151
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
52-
# https://stackoverflow.com/a/73711302/699056
53-
# https://stackoverflow.com/a/73359981/699056
54-
# https://stackoverflow.com/a/71209637/699056
55-
RUN apk add --update libc6-compat \
52+
# https://stackoverflow.com/a/73711302/699056
53+
# https://stackoverflow.com/a/73359981/699056
54+
# https://stackoverflow.com/a/71209637/699056
55+
RUN apk add --update --no-cache libc6-compat \
5656
gcompat \
5757
qemu-x86_64
5858

flavors/documentation/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3535
FROM python:3.11.2-alpine3.17
3636
ARG GITHUB_TOKEN
3737

38-
# https://stackoverflow.com/a/73711302/699056
38+
# https://stackoverflow.com/a/73711302/699056
3939
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
40-
# https://stackoverflow.com/a/73711302/699056
41-
# https://stackoverflow.com/a/73359981/699056
42-
# https://stackoverflow.com/a/71209637/699056
43-
RUN apk add --update libc6-compat \
40+
# https://stackoverflow.com/a/73711302/699056
41+
# https://stackoverflow.com/a/73359981/699056
42+
# https://stackoverflow.com/a/71209637/699056
43+
RUN apk add --update --no-cache libc6-compat \
4444
gcompat \
4545
qemu-x86_64
4646

flavors/dotnet/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3535
FROM python:3.11.2-alpine3.17
3636
ARG GITHUB_TOKEN
3737

38-
# https://stackoverflow.com/a/73711302/699056
38+
# https://stackoverflow.com/a/73711302/699056
3939
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
40-
# https://stackoverflow.com/a/73711302/699056
41-
# https://stackoverflow.com/a/73359981/699056
42-
# https://stackoverflow.com/a/71209637/699056
43-
RUN apk add --update libc6-compat \
40+
# https://stackoverflow.com/a/73711302/699056
41+
# https://stackoverflow.com/a/73359981/699056
42+
# https://stackoverflow.com/a/71209637/699056
43+
RUN apk add --update --no-cache libc6-compat \
4444
gcompat \
4545
qemu-x86_64
4646

flavors/go/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
4141
FROM python:3.11.2-alpine3.17
4242
ARG GITHUB_TOKEN
4343

44-
# https://stackoverflow.com/a/73711302/699056
44+
# https://stackoverflow.com/a/73711302/699056
4545
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
46-
# https://stackoverflow.com/a/73711302/699056
47-
# https://stackoverflow.com/a/73359981/699056
48-
# https://stackoverflow.com/a/71209637/699056
49-
RUN apk add --update libc6-compat \
46+
# https://stackoverflow.com/a/73711302/699056
47+
# https://stackoverflow.com/a/73359981/699056
48+
# https://stackoverflow.com/a/71209637/699056
49+
RUN apk add --update --no-cache libc6-compat \
5050
gcompat \
5151
qemu-x86_64
5252

flavors/java/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3535
FROM python:3.11.2-alpine3.17
3636
ARG GITHUB_TOKEN
3737

38-
# https://stackoverflow.com/a/73711302/699056
38+
# https://stackoverflow.com/a/73711302/699056
3939
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
40-
# https://stackoverflow.com/a/73711302/699056
41-
# https://stackoverflow.com/a/73359981/699056
42-
# https://stackoverflow.com/a/71209637/699056
43-
RUN apk add --update libc6-compat \
40+
# https://stackoverflow.com/a/73711302/699056
41+
# https://stackoverflow.com/a/73359981/699056
42+
# https://stackoverflow.com/a/71209637/699056
43+
RUN apk add --update --no-cache libc6-compat \
4444
gcompat \
4545
qemu-x86_64
4646

flavors/javascript/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3434
FROM python:3.11.2-alpine3.17
3535
ARG GITHUB_TOKEN
3636

37-
# https://stackoverflow.com/a/73711302/699056
37+
# https://stackoverflow.com/a/73711302/699056
3838
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
39-
# https://stackoverflow.com/a/73711302/699056
40-
# https://stackoverflow.com/a/73359981/699056
41-
# https://stackoverflow.com/a/71209637/699056
42-
RUN apk add --update libc6-compat \
39+
# https://stackoverflow.com/a/73711302/699056
40+
# https://stackoverflow.com/a/73359981/699056
41+
# https://stackoverflow.com/a/71209637/699056
42+
RUN apk add --update --no-cache libc6-compat \
4343
gcompat \
4444
qemu-x86_64
4545

flavors/php/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3535
FROM python:3.11.2-alpine3.17
3636
ARG GITHUB_TOKEN
3737

38-
# https://stackoverflow.com/a/73711302/699056
38+
# https://stackoverflow.com/a/73711302/699056
3939
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
40-
# https://stackoverflow.com/a/73711302/699056
41-
# https://stackoverflow.com/a/73359981/699056
42-
# https://stackoverflow.com/a/71209637/699056
43-
RUN apk add --update libc6-compat \
40+
# https://stackoverflow.com/a/73711302/699056
41+
# https://stackoverflow.com/a/73359981/699056
42+
# https://stackoverflow.com/a/71209637/699056
43+
RUN apk add --update --no-cache libc6-compat \
4444
gcompat \
4545
qemu-x86_64
4646

flavors/python/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3535
FROM python:3.11.2-alpine3.17
3636
ARG GITHUB_TOKEN
3737

38-
# https://stackoverflow.com/a/73711302/699056
38+
# https://stackoverflow.com/a/73711302/699056
3939
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
40-
# https://stackoverflow.com/a/73711302/699056
41-
# https://stackoverflow.com/a/73359981/699056
42-
# https://stackoverflow.com/a/71209637/699056
43-
RUN apk add --update libc6-compat \
40+
# https://stackoverflow.com/a/73711302/699056
41+
# https://stackoverflow.com/a/73359981/699056
42+
# https://stackoverflow.com/a/71209637/699056
43+
RUN apk add --update --no-cache libc6-compat \
4444
gcompat \
4545
qemu-x86_64
4646

flavors/ruby/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3434
FROM python:3.11.2-alpine3.17
3535
ARG GITHUB_TOKEN
3636

37-
# https://stackoverflow.com/a/73711302/699056
37+
# https://stackoverflow.com/a/73711302/699056
3838
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
39-
# https://stackoverflow.com/a/73711302/699056
40-
# https://stackoverflow.com/a/73359981/699056
41-
# https://stackoverflow.com/a/71209637/699056
42-
RUN apk add --update libc6-compat \
39+
# https://stackoverflow.com/a/73711302/699056
40+
# https://stackoverflow.com/a/73359981/699056
41+
# https://stackoverflow.com/a/71209637/699056
42+
RUN apk add --update --no-cache libc6-compat \
4343
gcompat \
4444
qemu-x86_64
4545

flavors/rust/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ FROM multiarch/qemu-user-static:x86_64-aarch64 as qemu
3434
FROM python:3.11.2-alpine3.17
3535
ARG GITHUB_TOKEN
3636

37-
# https://stackoverflow.com/a/73711302/699056
37+
# https://stackoverflow.com/a/73711302/699056
3838
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin/
39-
# https://stackoverflow.com/a/73711302/699056
40-
# https://stackoverflow.com/a/73359981/699056
41-
# https://stackoverflow.com/a/71209637/699056
42-
RUN apk add --update libc6-compat \
39+
# https://stackoverflow.com/a/73711302/699056
40+
# https://stackoverflow.com/a/73359981/699056
41+
# https://stackoverflow.com/a/71209637/699056
42+
RUN apk add --update --no-cache libc6-compat \
4343
gcompat \
4444
qemu-x86_64
4545

0 commit comments

Comments
 (0)