commit 2ca858a604241a596fc9a4ff1a26ee5b788df1ac
Author: Thiago Miranda <email address hidden>
Date: Mon Dec 20 14:33:45 2021 -0500
Change the entrypoint of the image to always use bash
To fix the kubectl version in the commit that it depends on, the
CUSTOMIZATION variable of the file
stx-platformclients.stable_docker_image had to be used.
But when we are building a new image with CUSTOMIZATION, the
build-stx-images.sh script put a CMD ["bash"] in the image, making the
old way to call commands in stx-platformclients to no longer work.
This commit solves this issue, by forcing the entrypoint to always
use bash and making all commands run as with "bash -c <command>"
Test Plan:
- Tested this change with new and old stx-platformclients versions.
It work with the image that has the kubectl fix and the older ones.
Reviewed: https:/ /review. opendev. org/c/starlingx /clients/ +/822360 /opendev. org/starlingx/ clients/ commit/ 2ca858a604241a5 96fc9a4ff1a26ee 5b788df1ac
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2ca858a604241a5 96fc9a4ff1a26ee 5b788df1ac
Author: Thiago Miranda <email address hidden>
Date: Mon Dec 20 14:33:45 2021 -0500
Change the entrypoint of the image to always use bash
To fix the kubectl version in the commit that it depends on, the platformclients .stable_ docker_ image had to be used.
CUSTOMIZATION variable of the file
stx-
But when we are building a new image with CUSTOMIZATION, the stx-images. sh script put a CMD ["bash"] in the image, making the
build-
old way to call commands in stx-platformclients to no longer work.
This commit solves this issue, by forcing the entrypoint to always
use bash and making all commands run as with "bash -c <command>"
Test Plan:
- Tested this change with new and old stx-platformclients versions.
It work with the image that has the kubectl fix and the older ones.
Partial-Bug: #1955427 /review. opendev. org/c/starlingx /upstream/ +/822356
Depends-on: https:/
Signed-off-by: Thiago Miranda <email address hidden> c4b4b42509cbcb7 8350360d02c
Change-Id: Ieae227daee875b