File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ RUN { \
76
76
# |
77
77
78
78
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 \
80
80
&& SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-${architecture} \
81
81
&& SUPERCRONIC=supercronic-linux-${architecture} \
82
82
&& curl -fsSLO "$SUPERCRONIC_URL" \
@@ -91,9 +91,7 @@ RUN if [ "$(arch)" = "x86_64" ]; then architecture="amd64"; fi \
91
91
# | Useful for S3 uploads of backups
92
92
# |
93
93
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" \
97
95
&& unzip awscliv2.zip \
98
96
&& ./aws/install \
99
97
&& rm -rf aws \
You can’t perform that action at this time.
0 commit comments