Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

Version update for postgres and python (#5378)

Akshat Jainbf08d21da6ed
diff --git a/apiserver/Dockerfile.api b/apiserver/Dockerfile.api
index 6447e9f979..cdb7e41ed5 100644
--- a/apiserver/Dockerfile.api
+++ b/apiserver/Dockerfile.api
@@ -1,4 +1,4 @@
-FROM python:3.11.1-alpine3.17 AS backend
+FROM python:3.12.5-alpine AS backend
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
@@ -7,23 +7,23 @@ ENV PIP_DISABLE_PIP_VERSION_CHECK=1
WORKDIR /code
-RUN apk --no-cache add \
- "libpq~=15" \
- "libxslt~=1.1" \
- "nodejs-current~=19" \
- "xmlsec~=1.2"
+RUN apk add --no-cache \
+ "libpq" \
+ "libxslt" \
+ "nodejs-current" \
+ "xmlsec"
COPY requirements.txt ./
COPY requirements ./requirements
RUN apk add --no-cache libffi-dev
RUN apk add --no-cache --virtual .build-deps \
"bash~=5.2" \
- "g++~=12.2" \
- "gcc~=12.2" \
- "cargo~=1.64" \
- "git~=2" \
- "make~=4.3" \
- "postgresql13-dev~=13" \
+ "g++" \
+ "gcc" \
+ "cargo" \
+ "git" \
+ "make" \
+ "postgresql-dev" \
"libc-dev" \
"linux-headers" \
&& \
diff --git a/apiserver/Dockerfile.dev b/apiserver/Dockerfile.dev
index 3de300db70..3cde896b97 100644
--- a/apiserver/Dockerfile.dev
+++ b/apiserver/Dockerfile.dev
@@ -1,4 +1,4 @@
-FROM python:3.11.1-alpine3.17 AS backend
+FROM python:3.12.5-alpine AS backend
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
@@ -7,18 +7,18 @@ ENV PIP_DISABLE_PIP_VERSION_CHECK=1
RUN apk --no-cache add \
"bash~=5.2" \
- "libpq~=15" \
- "libxslt~=1.1" \
- "nodejs-current~=19" \
- "xmlsec~=1.2" \
+ "libpq" \
+ "libxslt" \
+ "nodejs-current" \
+ "xmlsec" \
"libffi-dev" \
"bash~=5.2" \
- "g++~=12.2" \
- "gcc~=12.2" \
- "cargo~=1.64" \
- "git~=2" \
- "make~=4.3" \
- "postgresql13-dev~=13" \
+ "g++" \
+ "gcc" \
+ "cargo" \
+ "git" \
+ "make" \
+ "postgresql-dev" \
"libc-dev" \
"linux-headers"
diff --git a/deploy/selfhost/docker-compose.yml b/deploy/selfhost/docker-compose.yml
index 638452fd76..c574c19150 100644
--- a/deploy/selfhost/docker-compose.yml
+++ b/deploy/selfhost/docker-compose.yml
@@ -138,7 +138,7 @@ services:
plane-db:
<<: *app-env
- image: postgres:15.5-alpine
+ image: postgres:15.7-alpine
pull_policy: if_not_present
restart: unless-stopped
command: postgres -c 'max_connections=1000'
diff --git a/docker-compose-local.yml b/docker-compose-local.yml
index aea05f958d..ee7345b2e5 100644
--- a/docker-compose-local.yml
+++ b/docker-compose-local.yml
@@ -31,7 +31,7 @@ services:
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY}
plane-db:
- image: postgres:15.2-alpine
+ image: postgres:15.7-alpine
restart: unless-stopped
networks:
- dev_env
diff --git a/docker-compose.yml b/docker-compose.yml
index 08d40a85a2..e833b9e768 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -101,7 +101,7 @@ services:
plane-db:
container_name: plane-db
- image: postgres:15.2-alpine
+ image: postgres:15.7-alpine
restart: always
command: postgres -c 'max_connections=1000'
volumes: