improve some docs

This commit is contained in:
Nicola Murino
2020-05-23 12:47:44 +02:00
parent ad53429cf1
commit 5665e9c0e7
4 changed files with 15 additions and 16 deletions

View File

@@ -15,8 +15,7 @@ sudo groupadd -g 1003 sftpgrp && \
# Get and build SFTPGo image.
# Add --build-arg TAG=LATEST to build the latest tag or e.g. TAG=0.9.6 for a specific tag/commit.
# Add --build-arg FEATURES=<features to disable> to disable some feature.
# Please take a look at the [build from source](./../../../docs/build-from-source.md) documentation for the complete list of the features that can be disabled.
# Add --build-arg FEATURES=<build features comma separated> to specify the feature to build.
git clone https://github.com/drakkan/sftpgo.git && \
cd sftpgo && \
sudo docker build -t sftpgo docker/sftpgo/alpine/

View File

@@ -16,10 +16,10 @@ To build the latest tag you can add `--build-arg TAG=LATEST` and to build a spec
docker build -t="drakkan/sftpgo" --build-arg TAG=0.9.6 .
```
To disable some features you can add `--build-arg FEATURES=<features to disable>`. For example you can disable SQLite support like this:
To specify the features to build you can add `--build-arg FEATURES=<build features comma separated>`. For example you can disable SQLite and S3 support like this:
```bash
docker build -t="drakkan/sftpgo" --build-arg FEATURES=nosqlite .
docker build -t="drakkan/sftpgo" --build-arg FEATURES=nosqlite,nos3 .
```
Please take a look at the [build from source](./../../../docs/build-from-source.md) documentation for the complete list of the features that can be disabled.