mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-09 04:31:55 +00:00
Changed the Dockerfile so that there is a Inbucket user (and group). This will allow the container to be executed a the Inbucket user in stead of ROOT (security best practices) If the user wants to use a different greeting.html file he can use the environment variable to define a different one. For now we just use the greeting.html from the defaults directory. * Permissions for /start-inbucket.sh file * Added timezone data so you can set the timezone in the image * Updated Docker greeting.html file to include some basic instructions * Updated to alpine 3.11 * Updated to golang 1.14 * Updated the required packages
10 lines
182 B
Bash
Executable File
10 lines
182 B
Bash
Executable File
#!/bin/sh
|
|
# start-inbucket.sh
|
|
# description: start inbucket (runs within a docker container)
|
|
|
|
INBUCKET_HOME="/opt/inbucket"
|
|
|
|
set -eo pipefail
|
|
|
|
exec "$INBUCKET_HOME/bin/inbucket" $*
|