Skip to content

Commit b946231

Browse files
authored
Upgrade redis server (baserow#4889)
1 parent f6224ef commit b946231

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "refactor",
3+
"message": "Upgrade redis-server in all-in-one image to resolve CVEs",
4+
"issue_origin": "github",
5+
"issue_number": null,
6+
"domain": "core",
7+
"bullet_points": [],
8+
"created_at": "2026-02-27"
9+
}

deploy/all-in-one/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
119119
# Install postgres + redis (PGDG repo already added in base stage)
120120
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
121121
--mount=type=cache,target=/var/lib/apt,sharing=locked \
122+
curl -fsSL https://packages.redis.io/gpg | gpg --batch --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg && \
123+
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb trixie main" > /etc/apt/sources.list.d/redis.list && \
122124
apt-get update && \
123125
apt-get install --no-install-recommends -y \
124126
"postgresql-${POSTGRES_VERSION}" \
125127
"postgresql-${POSTGRES_VERSION}-pgvector" \
126-
redis-server && \
128+
redis && \
127129
# Setup redis
128130
usermod -a -G tty redis && \
129131
sed -i 's/daemonize yes/daemonize no/g' /etc/redis/redis.conf && \

0 commit comments

Comments
 (0)