diff --git a/CHANGELOG.md b/CHANGELOG.md index b06f3e2..1b62339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### citus-docker v5.2.1-1.docker (September 16, 2016) ### + +* Preserves ca-certificates package in images to avoid breaking apt-get + +* Ensures removal of community GPG key in nightly image build + ### citus-docker v5.2.1 (September 6, 2016) ### * Bump Citus version to 5.2.1; fixes a subquery bug diff --git a/Dockerfile b/Dockerfile index cb74fba..75e1c7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update \ curl \ && curl -s https://install.citusdata.com/community/deb.sh | bash \ && apt-get install -y postgresql-$PG_MAJOR-citus=$CITUS_VERSION \ - && apt-get purge -y --auto-remove ca-certificates curl \ + && apt-get purge -y --auto-remove curl \ && rm -rf /var/lib/apt/lists/* # add citus to default PostgreSQL config diff --git a/nightly/Dockerfile b/nightly/Dockerfile index 1fabdd6..41ae747 100644 --- a/nightly/Dockerfile +++ b/nightly/Dockerfile @@ -2,12 +2,13 @@ FROM citusdata/citus:latest MAINTAINER Citus Data https://citusdata.com # switch to Citus nightly -RUN rm -rf /etc/apt/sources.list.d/citusdata_community.list \ +RUN apt-key del 1530DF18 \ + && rm -rf /etc/apt/sources.list.d/citusdata_community.list \ && apt-get update \ && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ && curl -s https://install.citusdata.com/community-nightlies/deb.sh | bash \ && apt-get install --only-upgrade -y postgresql-$PG_MAJOR-citus \ - && apt-get purge -y --auto-remove ca-certificates curl \ + && apt-get purge -y --auto-remove curl \ && rm -rf /var/lib/apt/lists/*