Skip to content

Commit

Permalink
Downgrades postgres 13 and 12 image versions
Browse files Browse the repository at this point in the history
since latest versions are debian 11
  • Loading branch information
gurkanindibay committed Sep 24, 2021
1 parent 30c55ee commit 52dd6c3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_images_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: git clone -b v0.8.4 --depth=1 https://github.com/citusdata/tools.git tools

- name: Install package dependencies
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

- name: Install python requirements
run: python -m pip install -r tools/packaging_automation/requirements.txt
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 @@ -29,7 +29,7 @@ jobs:
run: git clone -b v0.8.4 --depth=1 https://github.com/citusdata/tools.git tools

- name: Install package dependencies
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

- name: Install python requirements
run: python -m pip install -r tools/packaging_automation/requirements.txt
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 @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v2

- name: Install package dependencies
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

- name: Clone tools branch
run: git clone -b v0.8.4 --depth=1 https://github.com/citusdata/tools.git tools
Expand Down
2 changes: 1 addition & 1 deletion 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:13.3
ARG VERSION=10.2.0
LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.name="Citus" \
Expand Down
10 changes: 6 additions & 4 deletions nightly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.version="Nightly" \
org.label-schema.schema-version="1.0"

# switch to Citus nightly
# Perform pre requisites for Citus Nightly Installation
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 \
curl

# Install Citus nightly
RUN curl -s https://install.citusdata.com/community-nightlies/deb.sh | bash \
&& apt-get install -y postgresql-$PG_MAJOR-citus \
&& apt-get purge -y --auto-remove curl \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*
2 changes: 1 addition & 1 deletion postgres-12/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/postgres-12/postgres-12.tmpl.dockerfile.
FROM postgres:12.8
FROM postgres:12.7
ARG VERSION=10.2.0
LABEL maintainer="Citus Data https://citusdata.com" \
org.label-schema.name="Citus" \
Expand Down

0 comments on commit 52dd6c3

Please sign in to comment.