Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump docker to version 10.2.1 #268

Merged
merged 22 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker_images_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- latest
- alpine
- postgres_12
- postgres_13
- postgres_14
- nightly
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Clone tools branch
run: git clone -b v0.8.3 --depth=1 https://github.com/citusdata/tools.git tools
run: git clone -b docker-13-as-main --depth=1 https://github.com/citusdata/tools.git tools
hanefi marked this conversation as resolved.
Show resolved Hide resolved

- name: Install package dependencies
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_images_on_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v2

- name: Clone tools branch
run: git clone -b v0.8.3 --depth=1 https://github.com/citusdata/tools.git tools
run: git clone -b docker-13-as-main --depth=1 https://github.com/citusdata/tools.git tools
hanefi marked this conversation as resolved.
Show resolved Hide resolved

- name: Install package dependencies
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker_images_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- latest
- alpine
- postgres_12
- postgres_13
- postgres_14
- nightly
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Clone tools branch
run: git clone -b v0.8.3 --depth=1 https://github.com/citusdata/tools.git tools
run: git clone -b docker-13-as-main --depth=1 https://github.com/citusdata/tools.git tools
hanefi marked this conversation as resolved.
Show resolved Hide resolved

- name: Install package dependencies
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev

- name: Clone tools branch
run: git clone -b v0.8.3 --depth=1 https://github.com/citusdata/tools.git tools
run: git clone -b docker-13-as-main --depth=1 https://github.com/citusdata/tools.git tools
hanefi marked this conversation as resolved.
Show resolved Hide resolved

- name: Set git name and email
run: |
Expand Down
14 changes: 5 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is auto generated from it's template,
# see citusdata/tools/packaging_automation/templates/docker/latest/latest.tmpl.dockerfile.
FROM postgres:14beta3
FROM postgres:13.4
ARG VERSION=10.2.0
LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.name="Citus" \
Expand All @@ -12,20 +12,16 @@ LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.schema-version="1.0"

ENV CITUS_VERSION ${VERSION}.citus-1
#install postgresql
RUN apt-get update && apt-get install -y lsb-release apt-utils wget curl gnupg2 && apt-get clean all \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main 14" > /etc/apt/sources.list.d/pgdg.list' \
&& apt-get purge -y --auto-remove curl \
&& rm -rf /var/lib/apt/lists/*

# install Citus
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& curl -s https://install.citusdata.com/community/deb.sh | bash \
&& apt-get install -y postgresql-$PG_MAJOR-citus-10.2=$CITUS_VERSION \
&& curl -s https://install.citusdata.com/community/deb.sh | bash \
&& apt-get install -y postgresql-$PG_MAJOR-citus-10.2=$CITUS_VERSION \
postgresql-$PG_MAJOR-hll=2.15.citus-1 \
postgresql-$PG_MAJOR-topn=2.3.1 \
hanefi marked this conversation as resolved.
Show resolved Hide resolved
&& apt-get purge -y --auto-remove curl \
&& rm -rf /var/lib/apt/lists/*

Expand Down
14 changes: 9 additions & 5 deletions postgres-13/Dockerfile → postgres-14/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is auto generated from it's template,
# see citusdata/tools/packaging_automation/templates/docker/latest/latest.tmpl.dockerfile.
FROM postgres:13.4
FROM postgres:14beta3
hanefi marked this conversation as resolved.
Show resolved Hide resolved
ARG VERSION=10.2.0
LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.name="Citus" \
Expand All @@ -12,16 +12,20 @@ LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.schema-version="1.0"

ENV CITUS_VERSION ${VERSION}.citus-1
#install postgresql
RUN apt-get update && apt-get install -y lsb-release apt-utils wget curl gnupg2 && apt-get clean all \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main 14" > /etc/apt/sources.list.d/pgdg.list' \
&& apt-get purge -y --auto-remove curl \
&& rm -rf /var/lib/apt/lists/*
hanefi marked this conversation as resolved.
Show resolved Hide resolved

# install Citus
RUN apt-get update \
hanefi marked this conversation as resolved.
Show resolved Hide resolved
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& curl -s https://install.citusdata.com/community/deb.sh | bash \
&& apt-get install -y postgresql-$PG_MAJOR-citus-10.2=$CITUS_VERSION \
postgresql-$PG_MAJOR-hll=2.15.citus-1 \
postgresql-$PG_MAJOR-topn=2.3.1 \
&& curl -s https://install.citusdata.com/community/deb.sh | bash \
hanefi marked this conversation as resolved.
Show resolved Hide resolved
&& apt-get install -y postgresql-$PG_MAJOR-citus-10.2=$CITUS_VERSION \
hanefi marked this conversation as resolved.
Show resolved Hide resolved
&& apt-get purge -y --auto-remove curl \
&& rm -rf /var/lib/apt/lists/*

Expand Down