4f194a8794
We have decided against including an insecure default key with a mere warning. Therefore, unlike the admin and user secrets, the availability of this secret is a hard requirement. The instance will not be able to start before a secret has been generated manually or by a management tool.
11 lines
247 B
Bash
Executable File
11 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
printf "Server built on %s:\n\nBranch: %s\n\n%s\n" \
|
|
"$(date)" \
|
|
"$(git rev-parse --abbrev-ref HEAD)" \
|
|
"$(git show -s --format=raw)" > docker/server-version.txt
|
|
|
|
docker build -f docker/Dockerfile . $@
|