From 4b10642bfcd4111688265cac1c03511359ce23c4 Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Thu, 7 Nov 2019 12:49:11 +0300 Subject: [PATCH 1/2] Bump to version 9.0.1 --- .travis.yml | 2 +- CHANGELOG.md | 8 ++++++++ Dockerfile | 4 ++-- Dockerfile-alpine | 2 +- docker-compose.yml | 4 ++-- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f8cdd2..040b307 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ sudo: required services: [ docker ] script: - - docker build -t citusdata/citus:8.3.2 . + - docker build -t citusdata/citus:9.0.1 . diff --git a/CHANGELOG.md b/CHANGELOG.md index 468d05f..1535361 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +### citus-docker v9.0.1.docker (November 7, 2019) ### + +* Bump Citus version to 9.0.1 + +### citus-docker v.0.1.docker (November 7, 2019) ### + +* Bump Citus version to .0.1 + ### citus-docker v8.3.2.docker (August 9, 2019) ### * Bump Citus version to 8.3.2 diff --git a/Dockerfile b/Dockerfile index 43b7804..91986c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM postgres:11.4 -ARG VERSION=8.3.2 +ARG VERSION=9.0.1 LABEL maintainer="Citus Data https://citusdata.com" \ org.label-schema.name="Citus" \ org.label-schema.description="Scalable PostgreSQL for multi-tenant and real-time workloads" \ @@ -17,7 +17,7 @@ RUN apt-get update \ ca-certificates \ curl \ && curl -s https://install.citusdata.com/community/deb.sh | bash \ - && apt-get install -y postgresql-$PG_MAJOR-citus-8.3=$CITUS_VERSION \ + && apt-get install -y postgresql-$PG_MAJOR-citus-9.0.=$CITUS_VERSION \ postgresql-$PG_MAJOR-hll=2.12.citus-1 \ postgresql-$PG_MAJOR-topn=2.2.0 \ && apt-get purge -y --auto-remove curl \ diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 7f3a288..1526872 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,5 +1,5 @@ FROM postgres:11.4-alpine -ARG VERSION=8.3.1 +ARG VERSION=9.0.1 LABEL maintainer="Citus Data https://citusdata.com" \ org.label-schema.name="Citus" \ org.label-schema.description="Scalable PostgreSQL for multi-tenant and real-time workloads" \ diff --git a/docker-compose.yml b/docker-compose.yml index 2256179..2876b9e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,11 +3,11 @@ version: '2.1' services: master: container_name: "${COMPOSE_PROJECT_NAME:-citus}_master" - image: 'citusdata/citus:8.3.2' + image: 'citusdata/citus:9.0.1' ports: ["${MASTER_EXTERNAL_PORT:-5432}:5432"] labels: ['com.citusdata.role=Master'] worker: - image: 'citusdata/citus:8.3.2' + image: 'citusdata/citus:9.0.1' labels: ['com.citusdata.role=Worker'] depends_on: { manager: { condition: service_healthy } } manager: From d0d734a273ca5a85345985c9d817cb5f1141626a Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Thu, 7 Nov 2019 12:55:11 +0300 Subject: [PATCH 2/2] Update topn, hll, PG versions (cherry picked from commit bb6bc512cd81a8abdc94f8b6021c256c689504c7) --- CHANGELOG.md | 4 ---- Dockerfile | 6 +++--- Dockerfile-alpine | 2 +- README.md | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1535361..8f38ccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,6 @@ * Bump Citus version to 9.0.1 -### citus-docker v.0.1.docker (November 7, 2019) ### - -* Bump Citus version to .0.1 - ### citus-docker v8.3.2.docker (August 9, 2019) ### * Bump Citus version to 8.3.2 diff --git a/Dockerfile b/Dockerfile index 91986c0..afba006 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM postgres:11.4 +FROM postgres:12.1 ARG VERSION=9.0.1 LABEL maintainer="Citus Data https://citusdata.com" \ org.label-schema.name="Citus" \ @@ -18,8 +18,8 @@ RUN apt-get update \ curl \ && curl -s https://install.citusdata.com/community/deb.sh | bash \ && apt-get install -y postgresql-$PG_MAJOR-citus-9.0.=$CITUS_VERSION \ - postgresql-$PG_MAJOR-hll=2.12.citus-1 \ - postgresql-$PG_MAJOR-topn=2.2.0 \ + postgresql-$PG_MAJOR-hll=2.14.citus-1 \ + postgresql-$PG_MAJOR-topn=2.3.0 \ && apt-get purge -y --auto-remove curl \ && rm -rf /var/lib/apt/lists/* diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 1526872..f4283bf 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,4 +1,4 @@ -FROM postgres:11.4-alpine +FROM postgres:12.1-alpine ARG VERSION=9.0.1 LABEL maintainer="Citus Data https://citusdata.com" \ org.label-schema.name="Citus" \ diff --git a/README.md b/README.md index 1a4e215..0596680 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Citus is a PostgreSQL-based distributed RDBMS. For more information, see the [Ci ## Function -This image provides a single running Citus instance (atop PostgreSQL 9.6), using standard configuration values. It is based on [the official PostgreSQL image][docker-postgres], so be sure to consult that image’s documentation for advanced configuration options (including non-default settings for e.g. `PGDATA` or `POSTGRES_USER`). +This image provides a single running Citus instance (atop PostgreSQL 12.0), using standard configuration values. It is based on [the official PostgreSQL image][docker-postgres], so be sure to consult that image’s documentation for advanced configuration options (including non-default settings for e.g. `PGDATA` or `POSTGRES_USER`). Just like the standard PostgreSQL image, this image exposes port `5432`. In other words, all containers on the same Docker network should be able to connect on this port, and exposing it externally will permit connections from external clients (`psql`, adapters, applications).