1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00
Felix Bartels 91ccf89765
add linting for shell scripts and Dockerfiles
* add hadolint for dockerfile linting
* add hadofile config
* add checks for dockerfiles and shellcheck into makefile
* shellcheck fixes
* add workaround so that .env can be sourced again from version.sh
* hadolint fixes
* print progress of build/run.sh
* fix check for jq in setup.sh

relates to #41 and #26
2019-03-14 07:46:54 +01:00

16 lines
252 B
Bash
Executable File

#!/bin/sh
set -e
# shellcheck disable=SC2154
if [ -n "$oidc_issuer_identifier" ]; then
set -- "$@" --iss="$oidc_issuer_identifier"
fi
if [ "$INSECURE" = "yes" ]; then
set -- "$@" --insecure
fi
exec /usr/local/bin/docker-entrypoint.sh serve "$@"