diff --git a/opendatakit-build/docker/etc/services.d/odkbuild/run b/opendatakit-build/docker/etc/services.d/odkbuild/run index 9f19f5d..18dbff1 100755 --- a/opendatakit-build/docker/etc/services.d/odkbuild/run +++ b/opendatakit-build/docker/etc/services.d/odkbuild/run @@ -2,5 +2,6 @@ cd /srv/opendatakit-build fdmove -c 2 1 +foreground { /usr/sbin/update-ca-certificates } s6-setuidgid 8017:8017 bundle exec rackup config.ru -o 0.0.0.0 -p 8080 diff --git a/opendatakit-build/etc/init.d/opendatakit-build b/opendatakit-build/etc/init.d/opendatakit-build index c33bbac..478e92b 100755 --- a/opendatakit-build/etc/init.d/opendatakit-build +++ b/opendatakit-build/etc/init.d/opendatakit-build @@ -11,6 +11,7 @@ start() { --name opendatakit-build \ -h opendatakit-build \ --link postgres \ + -v /etc/ssl/services.pem:/usr/local/share/ca-certificates/services.crt \ -v /srv/opendatakit-build/conf/config.yml:/srv/opendatakit-build/config.yml \ opendatakit-build }