From abc920ad18b5aeaaf7e079b3438705ac4558d555 Mon Sep 17 00:00:00 2001 From: SimpleApp Date: Mon, 7 Aug 2017 18:15:37 +0200 Subject: [PATCH] Update install-on-ubuntu.md Had an error trying to do RUN eval "$(curl -sL https://apt.vapor.sh)" from within a dockerfile (invalid parenthesis error). The suggested line did work. --- 2.0/docs/getting-started/install-on-ubuntu.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/2.0/docs/getting-started/install-on-ubuntu.md b/2.0/docs/getting-started/install-on-ubuntu.md index b7db2af6..b74f89d3 100644 --- a/2.0/docs/getting-started/install-on-ubuntu.md +++ b/2.0/docs/getting-started/install-on-ubuntu.md @@ -27,6 +27,12 @@ eval "$(curl -sL https://apt.vapor.sh)" !!! note This command requires `curl` which can be installed using `sudo apt-get install curl` +### Dockerfile +When configuring Ubuntu from a Dockerfile, adding the APT repo can be done via this command: +```sh + RUN /bin/bash -c "$(wget -qO- https://apt.vapor.sh)" +``` + ### Manual Or add the repo manually.