Aubrey C.
06/22/2022, 4:06 PMbdw429s
06/22/2022, 4:13 PMbdw429s
06/22/2022, 4:13 PMbdw429s
06/22/2022, 4:31 PM#!/bin/bash
set -e
command that may error
Aubrey C.
06/22/2022, 4:31 PMStep 32/34 : RUN export FINALIZE_STARTUP=true;$BUILD_DIR/run.sh;unset FINALIZE_STARTUP
bdw429s
06/22/2022, 4:32 PMbdw429s
06/22/2022, 4:32 PMbdw429s
06/22/2022, 4:32 PMbdw429s
06/22/2022, 4:32 PMbdw429s
06/22/2022, 4:33 PMbdw429s
06/22/2022, 4:33 PMAubrey C.
06/22/2022, 4:40 PMrun.sh
. I have the issue corrected, I just would prefer to have the build exit on error. It was missing the .cfconfig file.Aubrey C.
06/22/2022, 4:44 PM---> 0365875d86dd
Step 32/35 : RUN cat $BUILD_DIR/run.sh
---> Running in 18b23fe7b123
#!/bin/bash
set -e
## Handle deprecated/changed environment variables
. $BUILD_DIR/util/compat-env.sh
# If we have a finalized startup script bypass all further evaluation and use it authoritatively
if [[ -f $BIN_DIR/startup-final.sh ]]; then
. $BUILD_DIR/util/env-secrets-expand.sh
if [[ $USER ]] && [[ $USER != $(whoami) ]]; then
if [[ -f /etc/alpine-release ]]; then
su -p -c $BIN_DIR/startup-final.sh $USER
else
su --preserve-environment -c $BIN_DIR/startup-final.sh $USER
fi
else
$BIN_DIR/startup-final.sh
fi
else
bdw429s
06/22/2022, 5:11 PMbdw429s
06/22/2022, 5:11 PMbdw429s
06/22/2022, 5:12 PMbdw429s
06/22/2022, 5:12 PMAubrey C.
06/22/2022, 5:14 PM