OSDN Git Service

test-container: add install-test
[newslash/newslash.git] / test-container / files / install-test-entrypoint.sh
1 #!/bin/bash
2 set -eo pipefail
3
4 echo deb $APT_REPO > /etc/apt/sources.list.d/local-repo.list
5 apt-get update
6 apt-get install -y --allow-unauthenticated newslash-sradjp
7
8 hypnotoad /usr/share/newslash/script/newslash_web
9
10 if [ "$1" != "" ]; then
11     exec "$@"
12 fi
13