Add -f flag to cURL install instructions

From the -f description:

(HTTP) Fail silently (no output at all) on server errors. This is mostly done
to better enable scripts etc to better deal with failed attempts. In normal
cases when an HTTP server fails to deliver a document, it returns an HTML
document stating so (which often also describes why and more). This flag will
prevent curl from outputting that and return error 22.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2016-01-06 16:05:16 +01:00
Родитель 5ccd33134f
Коммит 9cf29be0ee
6 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -9,7 +9,7 @@ MAINTAINER Hector Castro hector@basho.com
# Install Riak repository before we do apt-get update, so that update happens
# in a single step
RUN apt-get install -q -y curl && \
curl -sSL https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash
curl -fsSL https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash
# Install and setup project dependencies
RUN apt-get update && \

Просмотреть файл

@ -37,7 +37,7 @@ script and we download the setup script and run it.
# Install Riak repository before we do apt-get update, so that update happens
# in a single step
RUN apt-get install -q -y curl && \
curl -sSL https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash
curl -fsSL https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash
Then we install and setup a few dependencies:

Просмотреть файл

@ -109,7 +109,7 @@ package manager.
3. Run the Docker installation script.
$ curl -sSL https://get.docker.com/ | sh
$ curl -fsSL https://get.docker.com/ | sh
This script adds the `docker.repo` repository and installs Docker.

Просмотреть файл

@ -104,7 +104,7 @@ There are two ways to install Docker Engine. You can install with the `dnf` pac
3. Run the Docker installation script.
$ curl -sSL https://get.docker.com/ | sh
$ curl -fsSL https://get.docker.com/ | sh
This script adds the `docker.repo` repository and installs Docker.

Просмотреть файл

@ -104,7 +104,7 @@ You use the same installation procedure for all versions of CentOS.
3. Run the Docker installation script.
$ curl -sSL https://get.docker.com/ | sh
$ curl -fsSL https://get.docker.com/ | sh
4. Start the Docker daemon.

Просмотреть файл

@ -7,12 +7,12 @@ set -e
# 'wget -qO- https://get.docker.com/ | sh'
#
# For test builds (ie. release candidates):
# 'curl -sSL https://test.docker.com/ | sh'
# 'curl -fsSL https://test.docker.com/ | sh'
# or:
# 'wget -qO- https://test.docker.com/ | sh'
#
# For experimental builds:
# 'curl -sSL https://experimental.docker.com/ | sh'
# 'curl -fsSL https://experimental.docker.com/ | sh'
# or:
# 'wget -qO- https://experimental.docker.com/ | sh'
#