docker: Add more binaries
- add inotify-tools to avoid `sleep` and check expected files directly. - add mailutils to generate mime structured emails
This commit is contained in:
@@ -58,7 +58,8 @@ RUN apt-get update -yqq && \
|
|||||||
openssl \
|
openssl \
|
||||||
sq \
|
sq \
|
||||||
bind9-host \
|
bind9-host \
|
||||||
inotify-tools
|
inotify-tools \
|
||||||
|
mailutils
|
||||||
|
|
||||||
RUN adduser --shell /bin/bash --disabled-password --gecos "" hockeypuck
|
RUN adduser --shell /bin/bash --disabled-password --gecos "" hockeypuck
|
||||||
|
|
||||||
|
|||||||
@@ -18,17 +18,19 @@ else
|
|||||||
if [ "$BRANCH" != "" ] ; then
|
if [ "$BRANCH" != "" ] ; then
|
||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
fi
|
fi
|
||||||
cargo build
|
ASSET_DIR=/tmp cargo build
|
||||||
|
|
||||||
HUSK_BIN=/opt/husk/husk-milter/target/debug/husk
|
HUSK_BIN=/opt/husk/husk-milter/target/debug/husk
|
||||||
HUSK_DIR=/opt/husk/husk-milter/
|
HUSK_DIR=/opt/husk/husk-milter/
|
||||||
|
|
||||||
|
cp /tmp/shell_completions/husk.bash /etc/bash_completion.d/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## start rsyslogd
|
## start rsyslogd
|
||||||
/usr/sbin/rsyslogd -n -iNONE &
|
/usr/sbin/rsyslogd -n -iNONE &
|
||||||
|
|
||||||
## start postfix
|
## start postfix
|
||||||
sudo postfix start
|
sudo postfix start > /dev/null
|
||||||
|
|
||||||
## start and prepare postgres
|
## start and prepare postgres
|
||||||
DOMAINS="example.com"
|
DOMAINS="example.com"
|
||||||
|
|||||||
Reference in New Issue
Block a user