synapse (sha256:f8ab84d6642790113254728c99a20d3ef02c15f42ac32bf27ae68f20c80042ed)

Published 2026-08-16 14:34:51 +04:00 by katze_942 in katze_942/synapse

Installation

docker pull git.katze-942.ru/katze_942/synapse@sha256:f8ab84d6642790113254728c99a20d3ef02c15f42ac32bf27ae68f20c80042ed
sha256:f8ab84d6642790113254728c99a20d3ef02c15f42ac32bf27ae68f20c80042ed

About this package

Remnawave Node with built-in XRay Core

Image layers

# debian.sh --arch 'arm64' out/ 'trixie' '@1785715200'
RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
ENV NODE_VERSION=24.19.0
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';; *) 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 655F3B5C1FB3FA8D1A0CA6BDE4A7D232B936D2FD ; 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"]
ARG S6_OVERLAY_VERSION=3.2.3.0
LABEL org.opencontainers.image.title=Remnawave Node
LABEL org.opencontainers.image.description=Remnawave Node with built-in XRay Core
LABEL org.opencontainers.image.url=https://git.katze-942.ru/katze_942/synapse
LABEL org.opencontainers.image.source=https://git.katze-942.ru/katze_942/synapse
LABEL org.opencontainers.image.vendor=Remnawave
LABEL org.opencontainers.image.licenses=AGPL-3.0
LABEL org.opencontainers.image.documentation=https://docs.rw
WORKDIR /opt/app
COPY /opt/app/dist ./dist # buildkit
COPY /usr/local/bin/xray /usr/local/bin/xray # buildkit
COPY /usr/local/share/xray/geoip.dat /usr/local/share/xray/geoip.dat # buildkit
COPY /usr/local/share/xray/geosite.dat /usr/local/share/xray/geosite.dat # buildkit
COPY /usr/local/share/asn /usr/local/share/asn # buildkit
COPY docker/rootfs/ / # buildkit
RUN |1 S6_OVERLAY_VERSION=3.2.3.0 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates wget xz-utils libnftnl11 libmnl0 && S6_ARCH="$(uname -m)" && wget -qO /tmp/s6-noarch.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" && wget -qO /tmp/s6-arch.tar.xz "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" && xz -dc /tmp/s6-noarch.tar.xz | tar -C / -xpf - && xz -dc /tmp/s6-arch.tar.xz | tar -C / -xpf - && rm -f /tmp/s6-noarch.tar.xz /tmp/s6-arch.tar.xz && mkdir -p /var/log/xray && chmod +x /etc/s6-overlay/scripts/init-env.sh /etc/s6-overlay/s6-rc.d/xray/run /etc/s6-overlay/s6-rc.d/xray-log/run && ln -s /usr/local/bin/xray /usr/local/bin/rw-core && ln -s /usr/local/bin/rw-core /usr/local/bin/synapse && ln -s /opt/app/dist/cli.js /usr/local/bin/cli && printf '#!/bin/sh\ntail -n +1 -f /var/log/xray/current\n' > /usr/local/bin/xlogs && printf '#!/bin/sh\ntail -n +1 -f /var/log/xray/current\n' > /usr/local/bin/xerrors && chmod +x /usr/local/bin/xlogs /usr/local/bin/xerrors && apt-get purge -y --auto-remove xz-utils && rm -rf /var/lib/apt/lists/* && rm -rf /usr/local/lib/node_modules/npm /usr/local/lib/node_modules/corepack /usr/local/bin/npm /usr/local/bin/npx /usr/local/bin/corepack /usr/local/include/node # buildkit
ARG INTEGRATIONS=
RUN |2 S6_OVERLAY_VERSION=3.2.3.0 INTEGRATIONS= /bin/sh -c sh /mnt/integrations/install.sh "${INTEGRATIONS}" # buildkit
ENV NODE_ENV=production
ENV NODE_OPTIONS=--max-http-header-size=65536
ENV UV_THREADPOOL_SIZE=24
ENV XRAY_JSON_STRICT=true
ENV S6_VERBOSITY=1
ENTRYPOINT ["/init"]
CMD ["/command/with-contenv" "node" "dist/main.js"]

Labels

Key Value
org.opencontainers.image.description Remnawave Node with built-in XRay Core
org.opencontainers.image.documentation https://docs.rw
org.opencontainers.image.licenses AGPL-3.0
org.opencontainers.image.revision 8070803281aa4da80381dfde6f2daeafbfff0d18
org.opencontainers.image.source https://git.katze-942.ru/katze_942/synapse
org.opencontainers.image.title Remnawave Node
org.opencontainers.image.url https://git.katze-942.ru/katze_942/synapse
org.opencontainers.image.vendor Remnawave
Details
Container
2026-08-16 14:34:51 +04:00
3
OCI / Docker
linux/arm64
AGPL-3.0
125 MiB
Versions (6) View all
latest 2026-08-16
sha-8070803281aa 2026-08-16
sha-aa4fe5e3e647 2026-07-07
sha-199ff637085a 2026-06-26
sha-57c260ff38a3 2026-06-25