Skip to content

Commit 47e66db

Browse files
committed
Fixing download link for ARM
1 parent 766cd37 commit 47e66db

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ RUN { \
7676
# |
7777

7878
RUN if [ "$(arch)" = "x86_64" ]; then architecture="amd64"; fi \
79-
&& if [ "$(arch)" = "arm64" ]; then architecture="arm64"; fi \
79+
&& if [ "$(arch)" = "aarch64" ]; then architecture="arm64"; fi \
8080
&& SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-${architecture} \
8181
&& SUPERCRONIC=supercronic-linux-${architecture} \
8282
&& curl -fsSLO "$SUPERCRONIC_URL" \
@@ -91,9 +91,7 @@ RUN if [ "$(arch)" = "x86_64" ]; then architecture="amd64"; fi \
9191
# | Useful for S3 uploads of backups
9292
# |
9393

94-
RUN if [ "$(arch)" = "x86_64" ]; then architecture="x86_64"; fi \
95-
&& if [ "$(arch)" = "arm64" ]; then architecture="aarch64"; fi \
96-
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-${architecture}.zip" -o "awscliv2.zip" \
94+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(arch).zip" -o "awscliv2.zip" \
9795
&& unzip awscliv2.zip \
9896
&& ./aws/install \
9997
&& rm -rf aws \

0 commit comments

Comments
 (0)