docmost (0.95-foss)
Published 2026-07-17 17:09:09 +02:00 by FenrirWolf
Installation
docker pull git.sapientiel.com/fenrirwolf/docmost:0.95-fosssha256:6fc7dd823d21e6ce0a2f5957f9788c88fc5b189f906a082365c535dd42ed1c71Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800' |
| RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit |
| ENV NODE_VERSION=22.23.1 |
| RUN /bin/sh -c ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64' OPENSSL_ARCH='linux-x86_64';; ppc64el) ARCH='ppc64le' OPENSSL_ARCH='linux-ppc64le';; s390x) ARCH='s390x' OPENSSL_ARCH='linux*-s390x';; arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; armhf) ARCH='armv7l' OPENSSL_ARCH='linux-armv4';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apt-mark auto '.*' > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version && rm -rf /tmp/* # buildkit |
| ENV YARN_VERSION=1.22.22 |
| RUN /bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apt-mark auto '.*' > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && yarn --version && rm -rf /tmp/* # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/ # buildkit |
| ENTRYPOINT ["docker-entrypoint.sh"] |
| CMD ["node"] |
| LABEL org.opencontainers.image.source="https://github.com/docmost/docmost" |
| /bin/sh -c npm install -g pnpm@10.4.0 |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl bash && rm -rf /var/lib/apt/lists/* |
| WORKDIR /app |
| COPY dir:4ca3ed652ae516dbea34b1b7cdbb520e1758470c0e527e2ee69a5358536040c5 in /app/apps/server/dist |
| COPY dir:428d708421377192563d82f692acc495f39852dadd1e9613432e87cadaab7010 in /app/apps/server/dist |
| COPY dir:19a5554e992b646d93bd4299a9ad00c95cdae1984158ce55760cd353f54d77b5 in /app/apps/client/dist |
| COPY file:244ec36e8f7f6189be7a67760f39fd25d7f5c2653185546c96098c8323fe4510 in /app/apps/server/package.json |
| COPY dir:c9d2620f8b1a8a34bc9abdec539d9469b5b419a1c2e8be42bf814d192315e481 in /app/packages/editor-ext/dist |
| COPY file:eff28caadb9a158ae918d2caeca3e40bc86ae61c0eca5a83b730d9debd9ca9f5 in /app/packages/editor-ext/package.json |
| COPY dir:7c08a1284b389545556cca55f3543294ab9054e3bfca14e7e5fc04bf44e48055 in /app/packages/base-formula/dist |
| COPY file:a02c9d1d6dddeca119e95ea500ff611e87a3f85a5343141fbaa3a165b08c49cf in /app/packages/base-formula/package.json |
| COPY file:92da7e3551f41e7f081b722898eb474307ec93b4193027df925e446871e166a1 in /app/package.json |
| COPY multi:1eb49de81ae418d60b4196cd41dbdedb5d6531af9705b35eef39c92bfa5f54a3 in /app/ |
| COPY file:0d642398844a65aa35b86fa876756fbe01227de9134a7e084fbcbd30554e973a in /app/.npmrc |
| COPY dir:607cce32650d79f72f51c1af41e13a3edb3698a958936bd6a87214d0473dc761 in /app/patches |
| /bin/sh -c chown -R node:node /app |
| USER node |
| /bin/sh -c pnpm install --frozen-lockfile --prod |
| /bin/sh -c mkdir -p /app/data/storage |
| VOLUME ["/app/data/storage"] |
| EXPOSE 3000 |
| CMD ["pnpm", "start"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.33.7 |
| org.opencontainers.image.source | https://github.com/docmost/docmost |
Details
Versions (2)
View all
0.95-foss
2026-07-17
0.90.1-foss
2026-06-04