diff --git a/konflux-rhel9.md b/konflux-rhel9.md index 9417c4c..4739a62 100644 --- a/konflux-rhel9.md +++ b/konflux-rhel9.md @@ -28,6 +28,10 @@ Log on to the registries: ```bash podman login -u ch007m@gmail.com -p xxxxxx docker.io ``` +Disable `setenforce` to avoid such an error reported during the build of the Dockerfile: https://github.com/containers/podman/issues/3234 +```bash +sudo setenforce 0 +``` Install or curl the installation bash script ```bash curl -sL -H 'Cache-Control: no-cache, no-store' \ diff --git a/scripts/install_buildpack_testing_environment.sh b/scripts/install_buildpack_testing_environment.sh index 2625181..23ee8fd 100644 --- a/scripts/install_buildpack_testing_environment.sh +++ b/scripts/install_buildpack_testing_environment.sh @@ -103,7 +103,7 @@ mkdir -p ${BINARY_DIR} mkdir -p $HOME/bin mkdir -p ${BUILDPACK_DIR} -cd ${BUILDPACK_TEST_DIR} +cd $HOME/${BUILDPACK_TEST_DIR} os=$(util::tools::os) arch=$(util::tools::arch) @@ -259,7 +259,7 @@ pack -v buildpack package \ --config "${COMPILED_BUILDPACK}/package.toml" # --publish print::colored_msg "${CYAN}" "Test case:: Build the Quarkus Buildpack image." -cd ${BUILDPACK_TEST_DIR}/quarkus +cd "${HOME}/${BUILDPACK_TEST_DIR}/quarkus" # TODO: Grab the version from git tag/ref/etc and pass OS as env var VERSION="v0.1.0"