Skip to content

Commit 8a0db30

Browse files
committed
Fix configure_env_file function
1 parent 5450563 commit 8a0db30

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/docker-entrypoint.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ configure_ssh_key() {
2929
}
3030

3131
configure_env_file() {
32-
echo "Environment Variables: Additional values"
3332
printf '%s' "$ENV_FILE" > "${ENV_FILE_PATH}"
3433
env_file_len=$(grep -v '^#' ${ENV_FILE_PATH}|grep -v '^$' -c)
3534
if [[ $env_file_len -gt 0 ]]; then
35+
echo "Environment Variables: Additional values"
3636
if [ "${DEBUG}" != "0" ]; then
3737
echo "Environment vars before: $(env|wc -l)"
3838
fi
@@ -42,10 +42,6 @@ configure_env_file() {
4242
echo "Environment vars after: $(env|wc -l)"
4343
fi
4444
fi
45-
46-
chmod 600 "${ENV_FILE_PATH}"
47-
eval "$(ssh-agent)"
48-
ssh-add "${SSH_KEY}"
4945
}
5046

5147
configure_ssh_host() {

0 commit comments

Comments
 (0)