Skip to content

Commit 843683d

Browse files
Eric Stroczynskiagaffney
andauthored
[v0.18.x] ansible: use correct download URL for tini on aarch64 (#3234) (#3286)
Fixes #3233 Co-authored-by: Andrew Gaffney <[email protected]>
1 parent e22d2ab commit 843683d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
entries:
2+
- description: >
3+
Fix the download URL for the `tini` binary on ARM64 for the ansible
4+
operator base image
5+
kind: "bugfix"
6+
breaking: false

internal/scaffold/ansible/dockerfilehybrid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN mkdir -p ${HOME}/.ansible/tmp \
8888
&& chown -R ${USER_UID}:0 ${HOME} \
8989
&& chmod -R ug+rwx ${HOME}
9090
91-
RUN TINIARCH=$(case $(arch) in x86_64) echo -n amd64 ;; ppc64le) echo -n ppc64el ;; *) echo -n $(arch) ;; esac) \
91+
RUN TINIARCH=$(case $(arch) in x86_64) echo -n amd64 ;; ppc64le) echo -n ppc64el ;; aarch64) echo -n arm64 ;; *) echo -n $(arch) ;; esac) \
9292
&& curl -L -o /tini https://github.com/krallin/tini/releases/latest/download/tini-$TINIARCH \
9393
&& chmod +x /tini
9494

0 commit comments

Comments
 (0)