mirror of
https://github.com/djrobstep/migra.git
synced 2024-10-26 07:00:54 +03:00
01acaf2eda
Fixes djrobstep/migra#177 Use python:3.9-alpine as base to reduce reliance on alpine maintainers for python and remove already provided packages (python3, python3-dev, ca-certificates). Remove bash since there is already a shell provided and the entrypoint-script is not using bash-exclusive syntax. Change entrypoint-script's shebang from bash to sh & fix array-to-string assignment see https://github.com/koalaman/shellcheck/wiki/SC2124
12 lines
131 B
Bash
Executable File
12 lines
131 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = 'migra' ]; then
|
|
if [ "${MIGRA_LOG_COMMAND}" = 'true' ]; then
|
|
echo "$*"
|
|
fi
|
|
fi
|
|
|
|
exec "$@"
|