Merge pull request #141 from dokku/test-ci

fix: import the missing key and install nginx from upstream
This commit is contained in:
Jose Diaz-Gonzalez
2019-09-19 13:28:05 -04:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

0
empty Normal file
View File

View File

@@ -1,6 +1,10 @@
#!/usr/bin/env bash
set -eo pipefail
[[ $TRACE ]] && set -x
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
wget https://raw.githubusercontent.com/dokku/dokku/master/bootstrap.sh
if [[ "$DOKKU_VERSION" == "master" ]]; then
sudo bash bootstrap.sh