Skip to content

Commit 0aa5e6d

Browse files
[v0.17.x] ansible: use correct download URL for tini on aarch64 (#3291)
Co-authored-by: Andrew Gaffney <[email protected]>
1 parent 991d417 commit 0aa5e6d

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
@@ -93,7 +93,7 @@ RUN mkdir -p ${HOME}/.ansible/tmp \
9393
&& chown -R ${USER_UID}:0 ${HOME} \
9494
&& chmod -R ug+rwx ${HOME}
9595
96-
RUN TINIARCH=$(case $(arch) in x86_64) echo -n amd64 ;; ppc64le) echo -n ppc64el ;; *) echo -n $(arch) ;; esac) \
96+
RUN TINIARCH=$(case $(arch) in x86_64) echo -n amd64 ;; ppc64le) echo -n ppc64el ;; aarch64) echo -n arm64 ;; *) echo -n $(arch) ;; esac) \
9797
&& curl -L -o /tini https://github.com/krallin/tini/releases/latest/download/tini-$TINIARCH \
9898
&& chmod +x /tini
9999

0 commit comments

Comments
 (0)