Skip to content

Fix minor issues in nextcloud code blocks #2130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions nextcloud/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

...

Expand Down