fix: import the missing key and install nginx from upstream

This commit is contained in:
Jose Diaz-Gonzalez
2019-09-19 11:10:31 -04:00
parent 0a0e6c3140
commit b2b39c86f1
2 changed files with 4 additions and 0 deletions

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