From 1a18a496b970acf343d81e345a68ae4dfb14a43b Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 20 Jan 2021 16:32:47 +0100 Subject: [PATCH] add expose to docker images --- changelog/unreleased/expose-docker-image | 7 +++++++ ocis/docker/Dockerfile.linux.amd64 | 2 ++ ocis/docker/Dockerfile.linux.arm | 2 ++ ocis/docker/Dockerfile.linux.arm64 | 2 ++ 4 files changed, 13 insertions(+) create mode 100644 changelog/unreleased/expose-docker-image diff --git a/changelog/unreleased/expose-docker-image b/changelog/unreleased/expose-docker-image new file mode 100644 index 00000000000..b330fdd3e5b --- /dev/null +++ b/changelog/unreleased/expose-docker-image @@ -0,0 +1,7 @@ +Change: Add "expose" information to docker images + +Tags: docker + +Add "expose" information to docker images. Docker users will now see that we offer services on port 9200. + +https://github.com/owncloud/ocis/pull/1366 diff --git a/ocis/docker/Dockerfile.linux.amd64 b/ocis/docker/Dockerfile.linux.amd64 index f39451935c8..a902c8597fb 100644 --- a/ocis/docker/Dockerfile.linux.amd64 +++ b/ocis/docker/Dockerfile.linux.amd64 @@ -11,6 +11,8 @@ LABEL maintainer="ownCloud GmbH " \ org.label-schema.vendor="ownCloud GmbH" \ org.label-schema.schema-version="1.0" +EXPOSE 9200/tcp + ENTRYPOINT ["/usr/bin/ocis"] CMD ["server"] diff --git a/ocis/docker/Dockerfile.linux.arm b/ocis/docker/Dockerfile.linux.arm index 880fb57b927..5ae4306909b 100644 --- a/ocis/docker/Dockerfile.linux.arm +++ b/ocis/docker/Dockerfile.linux.arm @@ -11,6 +11,8 @@ LABEL maintainer="ownCloud GmbH " \ org.label-schema.vendor="ownCloud GmbH" \ org.label-schema.schema-version="1.0" +EXPOSE 9200/tcp + ENTRYPOINT ["/usr/bin/ocis"] CMD ["server"] diff --git a/ocis/docker/Dockerfile.linux.arm64 b/ocis/docker/Dockerfile.linux.arm64 index c142a41a687..3750fe46fff 100644 --- a/ocis/docker/Dockerfile.linux.arm64 +++ b/ocis/docker/Dockerfile.linux.arm64 @@ -11,6 +11,8 @@ LABEL maintainer="ownCloud GmbH " \ org.label-schema.vendor="ownCloud GmbH" \ org.label-schema.schema-version="1.0" +EXPOSE 9200/tcp + ENTRYPOINT ["/usr/bin/ocis"] CMD ["server"]