Skip to content

Commit b241523

Browse files
authored
Merge pull request #2130 from infosiftr/nextcloud-fixes
Fix minor issues in nextcloud code blocks
2 parents 68cbff9 + 0770795 commit b241523

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nextcloud/content.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,10 @@ $ docker-compose up -d
421421

422422
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.
423423

424-
```yaml
424+
```dockerfile
425425
FROM %%IMAGE%%:apache
426426
427427
RUN ...
428-
429428
```
430429

431430
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
446445

447446
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.
448447

449-
```yaml
450-
FROM nextcloud:apache
448+
```dockerfile
449+
FROM %%IMAGE%%:apache
451450
452451
...
453452

0 commit comments

Comments
 (0)