Skip to content
Draft
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
5 changes: 5 additions & 0 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ all dependencies. As we create and pass `MatrixClient` through Draupnir,
matrix-protection-suite-for-matrix-bot-sdk, the vector bot-sdk fork itself, and
also matrix-appservice-bridge.

### @matrix-org/matrix-crypto-sdk-nodejs

This is pinned waiting for matrix-appservice-bridge to be updated so we have
musl builds working again allowing Alpine Docker Image to become a reality.

### postgres

https://github.com/porsager/postgres/issues/1143
Expand Down
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

# syntax=docker/dockerfile:1.7

FROM node:24-slim AS build-stage
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update \
&& apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/*
FROM node:24-alpine AS build-stage
RUN --mount=type=cache,target=/var/cache/apk,sharing=locked \
apk add --no-cache git \
&& apk cache clean

WORKDIR /tmp/src
COPY package.json package-lock.json ./
Expand All @@ -30,7 +29,7 @@ COPY . .
RUN npm run build \
&& npm prune --production

FROM node:24-slim AS final-stage
FROM node:24-alpine AS final-stage
COPY --from=build-stage /tmp/src/apps/draupnir /apps/draupnir
COPY --from=build-stage /tmp/src/packages /packages
COPY --from=build-stage /tmp/src/node_modules /node_modules
Expand Down
3 changes: 2 additions & 1 deletion apps/draupnir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"overrides": {
"@the-draupnir-project/matrix-basic-types": "$the-draupnir-project/matrix-basic-types",
"@the-draupnir-project/interface-manager": "$the-draupnir-project/interface-manager",
"matrix-protection-suite": "$matrix-protection-suite"
"matrix-protection-suite": "$matrix-protection-suite",
"@matrix-org/matrix-sdk-crypto-nodejs": "0.6.0"
},
"engines": {
"node": ">=24.0.0"
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

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

Loading