Skip to content

Commit 38b6ff4

Browse files
committed
Debug
1 parent 178ac4c commit 38b6ff4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/docker-entrypoint.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ configure_env_file() {
3434
if [[ $env_file_len -gt 0 ]]; then
3535
echo "Environment Variables: Additional values"
3636
if [ "${DEBUG}" != "0" ]; then
37-
cat "${ENV_FILE}"
38-
cat "${ENV_FILE_PATH}"
37+
echo "Base64 env"
38+
echo -n "$ENV_FILE" | base64
39+
echo "Base64 file"
40+
printf "%s" "$(cat ${ENV_FILE_PATH} | base64)"
41+
echo "Contents file"
42+
printf "Content:\n%s\n" "$(cat ${ENV_FILE_PATH})"
3943
echo "Environment vars before: $(env|wc -l)"
4044
fi
4145
# shellcheck disable=SC2046

0 commit comments

Comments
 (0)