Skip to content

Commit f0545b6

Browse files
Merge pull request #16 from jayanth-kumar-morem/main
2 parents 748d631 + f35e979 commit f0545b6

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ RUN apk add --no-cache --virtual .citus-deps \
105105
jq
106106

107107
# Install Citus
108-
ARG CITUS_VERSION="11.2.0"
108+
ARG CITUS_VERSION
109109
RUN set -ex \
110110
&& apk add --no-cache --virtual .citus-build-deps \
111111
gcc \

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ NAME=postgres
33
# Set ORG to timescale in the caller
44
ORG=samagragovernance
55
PG_VER=pg15
6+
CITUS_VERSION="11.2.0"
67
PG_VER_NUMBER=$(shell echo $(PG_VER) | cut -c3-)
78
TS_VERSION=main
89
PREV_TS_VERSION=$(shell wget --quiet -O - https://raw.githubusercontent.com/timescale/timescaledb/${TS_VERSION}/version.config | grep update_from_version | sed -e 's!update_from_version = !!')
@@ -54,7 +55,7 @@ default: image
5455
touch .build_$(TS_VERSION)_$(PG_VER)_oss
5556

5657
.build_$(TS_VERSION)_$(PG_VER): Dockerfile
57-
docker build --build-arg PG_VERSION=$(PG_VER_NUMBER) --build-arg TS_VERSION=$(TS_VERSION) --build-arg PREV_IMAGE=$(PREV_IMAGE) $(TAG) .
58+
docker build --build-arg PG_VERSION=$(PG_VER_NUMBER) --build-arg TS_VERSION=$(TS_VERSION) --build-arg PREV_IMAGE=$(PREV_IMAGE) --build-arg CITUS_VERSION=$(CITUS_VERSION) $(TAG) .
5859
touch .build_$(TS_VERSION)_$(PG_VER)
5960

6061
image: .build_$(TS_VERSION)_$(PG_VER)

bitnami/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN set +o pipefail \
5151
ARG PG_VERSION
5252
FROM bitnami/postgresql:${PG_VERSION}
5353
ARG PG_VERSION
54-
ARG CITUS_VERSION="11.2.0"
54+
ARG CITUS_VERSION
5555

5656
LABEL maintainer="Timescale https://www.timescale.com"
5757

bitnami/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ NAME=timescaledb
22
# Default is to timescaledev to avoid unexpected push to the main repo
33
# Set ORG to timescale in the caller
44
ORG=timescaledev
5-
PG_VER=pg12
5+
PG_VER=pg15
6+
CITUS_VERSION="11.2.0"
67
PG_VER_NUMBER=$(shell echo $(PG_VER) | cut -c3-)
78

89
TS_VERSION=main
@@ -21,7 +22,7 @@ default: image
2122
.build_$(TS_VERSION)_$(PG_VER): Dockerfile
2223
test -n "$(TS_VERSION)" # TS_VERSION
2324
test -n "$(PREV_TS_VERSION)" # PREV_TS_VERSION
24-
docker build -f ./Dockerfile --build-arg PG_VERSION=$(PG_VER_NUMBER) --build-arg TS_VERSION=$(TS_VERSION) --build-arg PREV_IMAGE=$(PREV_IMAGE) $(TAG) ..
25+
docker build -f ./Dockerfile --build-arg PG_VERSION=$(PG_VER_NUMBER) --build-arg TS_VERSION=$(TS_VERSION) --build-arg PREV_IMAGE=$(PREV_IMAGE) --build-arg CITUS_VERSION=$(CITUS_VERSION) $(TAG) ..
2526
touch .build_$(TS_VERSION)_$(PG_VER)-bitnami
2627

2728
image: .build_$(TS_VERSION)_$(PG_VER)

0 commit comments

Comments
 (0)