Skip to content

Commit

Permalink
Merge pull request #1375 from owncloud/add_volume_docker_image
Browse files Browse the repository at this point in the history
add volume to docker image
  • Loading branch information
phil-davis authored Jan 21, 2021
2 parents afe098e + 833d0e4 commit 90cfa1e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions changelog/unreleased/docker_image_volume.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Change: Add "volume" declaration to docker images

Tags: docker

Add "volume" declaration to docker images. This makes it easier for Docker users to see where oCIS stores data.

https://github.com/owncloud/ocis/pull/1375
2 changes: 2 additions & 0 deletions ocis/docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

COPY bin/ocis /usr/bin/ocis

VOLUME [ "/var/tmp/ocis" ]
2 changes: 2 additions & 0 deletions ocis/docker/Dockerfile.linux.arm
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

COPY bin/ocis /usr/bin/ocis

VOLUME [ "/var/tmp/ocis" ]
2 changes: 2 additions & 0 deletions ocis/docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

COPY bin/ocis /usr/bin/ocis

VOLUME [ "/var/tmp/ocis" ]

0 comments on commit 90cfa1e

Please sign in to comment.