diff --git a/CHANGELOG.md b/CHANGELOG.md index 55b996464..6805683b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The following sections list the changes for unreleased. ## Summary * Change - Disable pretty logging by default: [#1133](https://github.com/owncloud/ocis/pull/1133) +* Change - Add "volume" declaration to docker images: [#1375](https://github.com/owncloud/ocis/pull/1375) * Change - Add "expose" information to docker images: [#1366](https://github.com/owncloud/ocis/pull/1366) * Change - Generate cryptographically secure state token: [#1203](https://github.com/owncloud/ocis/pull/1203) * Change - Move k6 to cdperf: [#1358](https://github.com/owncloud/ocis/pull/1358) @@ -27,6 +28,15 @@ The following sections list the changes for unreleased. https://github.com/owncloud/ocis/pull/1133 +* Change - Add "volume" declaration to docker images: [#1375](https://github.com/owncloud/ocis/pull/1375) + + 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 + * Change - Add "expose" information to docker images: [#1366](https://github.com/owncloud/ocis/pull/1366) Tags: docker diff --git a/changelog/unreleased/docker_image_volume.md b/changelog/unreleased/docker_image_volume.md new file mode 100644 index 000000000..0e287de5b --- /dev/null +++ b/changelog/unreleased/docker_image_volume.md @@ -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 diff --git a/ocis/docker/Dockerfile.linux.amd64 b/ocis/docker/Dockerfile.linux.amd64 index a902c8597..59498cabd 100644 --- a/ocis/docker/Dockerfile.linux.amd64 +++ b/ocis/docker/Dockerfile.linux.amd64 @@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"] CMD ["server"] COPY bin/ocis /usr/bin/ocis + +VOLUME [ "/var/tmp/ocis" ] diff --git a/ocis/docker/Dockerfile.linux.arm b/ocis/docker/Dockerfile.linux.arm index 5ae430690..782524769 100644 --- a/ocis/docker/Dockerfile.linux.arm +++ b/ocis/docker/Dockerfile.linux.arm @@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"] CMD ["server"] COPY bin/ocis /usr/bin/ocis + +VOLUME [ "/var/tmp/ocis" ] diff --git a/ocis/docker/Dockerfile.linux.arm64 b/ocis/docker/Dockerfile.linux.arm64 index 3750fe46f..2e3afb234 100644 --- a/ocis/docker/Dockerfile.linux.arm64 +++ b/ocis/docker/Dockerfile.linux.arm64 @@ -17,3 +17,5 @@ ENTRYPOINT ["/usr/bin/ocis"] CMD ["server"] COPY bin/ocis /usr/bin/ocis + +VOLUME [ "/var/tmp/ocis" ]