Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
23 changes: 19 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24-bookworm AS frontend-builder
FROM node:24-trixie AS frontend-builder

RUN npm install --global pnpm@10.30.3

Expand Down Expand Up @@ -39,14 +39,29 @@ RUN --mount=type=cache,id=pnpm-store,target=/frontend/.cache/pnpm,uid=1001,gid=1
fi
EOF

FROM python:3.13-slim-bookworm
FROM python:3.13-slim-trixie

EXPOSE 5000

RUN useradd --create-home redash

# Ubuntu packages
# Add Debian trixie-security and trixie-updates repositories so we get the latest
# security fixes and stable point updates at build time.
# trixie-proposed-updates is kept for opt-in pre-release fixes already in flight.
RUN set -eux; \
printf 'deb http://deb.debian.org/debian-security trixie-security main\n' \
> /etc/apt/sources.list.d/trixie-security.list; \
printf 'deb http://deb.debian.org/debian trixie-updates main\n' \
> /etc/apt/sources.list.d/trixie-updates.list; \
printf 'deb http://deb.debian.org/debian trixie-proposed-updates main\n' \
> /etc/apt/sources.list.d/trixie-proposed-updates.list

# Apply security archive first (forces -t trixie-security so the security pocket wins),
# then a general upgrade for stable point updates, then install build dependencies.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y -t trixie-security upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -y -t trixie-updates upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -y upgrade && \
apt-get install -y --no-install-recommends \
pkg-config \
curl \
Expand Down Expand Up @@ -80,7 +95,7 @@ ARG databricks_odbc_driver_url=https://databricks-bi-artifacts.s3.us-east-2.amaz
RUN <<EOF
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
curl https://packages.microsoft.com/config/debian/12/prod.list > /etc/apt/sources.list.d/mssql-release.list
curl https://packages.microsoft.com/config/debian/13/prod.list > /etc/apt/sources.list.d/mssql-release.list
apt-get update
ACCEPT_EULA=Y apt-get install -y --no-install-recommends msodbcsql18
apt-get clean
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-builtin-extend": "^1.1.2",
"copy-webpack-plugin": "^13.0.1",
"core-js": "^2.6.12",
"css-loader": "^7.1.4",
"cypress": "^11.2.0",
"dayjs": "^1.11.9",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.