Merge pull request #2130 from infosiftr/nextcloud-fixes

Fix minor issues in nextcloud code blocks
This commit is contained in:
yosifkit 2022-04-07 11:00:17 -07:00 committed by GitHub
commit b241523744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -421,11 +421,10 @@ $ docker-compose up -d
A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it. Start your derived image with the `FROM` statement and add whatever you like.
```yaml
```dockerfile
FROM %%IMAGE%%:apache
RUN ...
```
The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication.
@ -446,8 +445,8 @@ If you use your own Dockerfile, you need to configure your docker-compose file a
If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work.
```yaml
FROM nextcloud:apache
```dockerfile
FROM %%IMAGE%%:apache
...