pawkey (stable-priv)
Published 2025-10-14 14:44:06 +00:00 by pawinput
Installation
docker pull git.pawlickers.org/pawinput/pawkey:stable-privsha256:5877324b5452b2cc681afd679b2f3875c303e01c3c40c338ab1a267d825ce549Image layers
| ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV NODE_VERSION=22.11.0 |
| RUN /bin/sh -c addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node && apk add --no-cache libstdc++ && apk add --no-cache --virtual .build-deps curl && ARCH= OPENSSL_ARCH='linux*' && alpineArch="$(apk --print-arch)" && case "${alpineArch##*-}" in x86_64) ARCH='x64' CHECKSUM="95e9a410b7ce732705493cd44496c8e77ccb11516c75c2ef794f19a9943d178c" OPENSSL_ARCH=linux-x86_64;; x86) OPENSSL_ARCH=linux-elf;; aarch64) OPENSSL_ARCH=linux-aarch64;; arm*) OPENSSL_ARCH=linux-armv4;; ppc64le) OPENSSL_ARCH=linux-ppc64le;; s390x) OPENSSL_ARCH=linux-s390x;; *) ;; esac && if [ -n "${CHECKSUM}" ]; then set -eu; curl -fsSLO --compressed "https://unofficial-builds.nodejs.org/download/release/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz"; echo "$CHECKSUM node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && ln -s /usr/local/bin/node /usr/local/bin/nodejs; else echo "Building from source" && apk add --no-cache --virtual .build-deps-full binutils-gold g++ gcc gnupg libgcc linux-headers make python3 py-setuptools && export GNUPGHOME="$(mktemp -d)" && for key in C0D6248439F1D5604AAFFB4021D900FFDB233756 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A A363A499291CBBC940DD62E41F10027AF002F8B0 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.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.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xf "node-v$NODE_VERSION.tar.xz" && cd "node-v$NODE_VERSION" && ./configure && make -j$(getconf _NPROCESSORS_ONLN) V= && make install && apk del .build-deps-full && cd .. && rm -Rf "node-v$NODE_VERSION" && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt; fi && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apk del .build-deps && node --version && npm --version # buildkit |
| ENV YARN_VERSION=1.22.22 |
| RUN /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$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 && apk del .build-deps-yarn && yarn --version && rm -rf /tmp/* # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/ # buildkit |
| ENTRYPOINT ["docker-entrypoint.sh"] |
| CMD ["node"] |
| ARG UID |
| ARG GID UID |
| ENV COREPACK_DEFAULT_TO_LATEST=0 |
| |2 GID=991 UID=991 /bin/sh -c apk add ffmpeg tini jemalloc pixman pango cairo libpng librsvg font-noto font-noto-cjk font-noto-thai && corepack enable && addgroup -g "${GID}" pawkey && adduser -D -u "${UID}" -G pawkey -h /pawkey pawkey && mkdir /pawkey/files && chown pawkey:pawkey /pawkey/files && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /u+s -exec chmod u-s {} \; && find / -type d -path /sys -prune -o -type d -path /proc -prune -o -type f -perm /g+s -exec chmod g-s {} \; |
| USER pawkey |
| WORKDIR /pawkey |
| COPY file:97a67e4cb6d0cbe90ffeffccd616a3f59a9420307735314388f8d2ba7ea5ba10 in ./package.json |
| |2 GID=991 UID=991 /bin/sh -c corepack install |
| COPY dir:57634b34023df13259fcdea12c9f93dbf53ff18578cd62fccc409100f5f32682 in ./node_modules |
| COPY dir:e3ce3f2705b0b7fc454ae4cca377b9a8b900216c998d18dff35fc08dce794ab2 in ./packages/backend/node_modules |
| COPY dir:890ca582370505a27ac9568fb15204c1ef0a1ea35ee485c6378c23e80866de60 in ./packages/misskey-js/node_modules |
| COPY dir:d13e8eb927eb9ca0c9202f0627b80a509e14c76641dad17ee42e310b105f652f in ./packages/misskey-reversi/node_modules |
| COPY dir:07d0b876619d93e24f0f59251bb660f9eec6010b77d10e89a893161c1c3f27f5 in ./packages/misskey-bubble-game/node_modules |
| COPY dir:170f5ac8b3817eb4459c92ac7c579d799ccbc2782101fac9150ee7bd8e11fa91 in ./packages/megalodon/node_modules |
| COPY dir:040a38e4732bc5f6fa0401b2c7e3a167eb1f5c5e5f7788d62ca19a84727f73d6 in ./built |
| COPY dir:090dc715727e540142c0c4e1105c1cf171623a331dccafacfcb75673db1c593e in ./packages/misskey-js/built |
| COPY dir:84341bdaea00282e9265e70645c09d5a100ebdcb0a835a31b381bbb26ce4dee6 in ./packages/misskey-reversi/built |
| COPY dir:c8e6c35d8b2c6f092fcadca31ec4a2e014443b424f5d06d09fc8305ac51a9467 in ./packages/misskey-bubble-game/built |
| COPY dir:f50b8461f3993e36d4976105dc2f3473c62722c82a80dffc55f52beb4f4bfde9 in ./packages/backend/built |
| COPY dir:6ade7869c72ebff6a1f5f292e1153948b3b0f3b2ee5d20b57c9f9f72a75d0415 in ./packages/megalodon/lib |
| COPY dir:953c35341713d47832b4e32e2c0afbb2296a52065366b1d0b8fda5a2496cec28 in ./fluent-emojis |
| COPY dir:5c025c7db355591421f0bc55d45b442c885155dbeb0cd16bd8c05bf15ed2a100 in ./tossface-emojis/dist |
| COPY dir:fff415842afc130fc108925976ea4357bf9655e16bfe61c58bd22690855c0930 in ./packages/frontend/assets |
| COPY dir:0081212999a80e4400fd738b65b6fcc94080a895b11ef1b4956bb07c753ca91c in ./packages/frontend-embed/assets |
| COPY file:421b852de0cbd574a3868e4626b2138419c276cc96267e1707323b167915d704 in ./pnpm-workspace.yaml |
| COPY file:1b9da3e662c98f77a7d9cacb25893fe32b4b5fa0ee2b3f1f498f3f7bc2960f7f in ./packages/backend/package.json |
| COPY file:b7b00351a9dfcf433633444441109de59058903382e293c1fb26b487984385e0 in ./packages/backend/scripts/check_connect.js |
| COPY file:b49f7be8e85f7874425dab1fc97a30e851e0c0941037718b543b407dd38cf7a1 in ./packages/backend/ormconfig.js |
| COPY dir:97d53973d4d933dbc67d165e262c826f09792f10748a77b7d6703ec7c7f84100 in ./packages/backend/migration |
| COPY dir:227c011caf96bbffa0a575e624caec473f2ed6a9e4c1e52ea660a3adf299f004 in ./packages/backend/assets |
| COPY file:45cabf2d49d9bf99b1f38f7c9a1edbb2d163f4b0adb1317ac17cacc75f0a402d in ./packages/megalodon/package.json |
| COPY file:a0744683bb01aaa5a0d91e34e534fcf899d4f90ccf5048761c3df1ccb46964ec in ./packages/misskey-js/package.json |
| COPY file:8b25a1b94a1e0926fc600957d26e7b96208ca3cab9ad57dfa462a242b6764bb1 in ./packages/misskey-reversi/package.json |
| COPY file:a3814c41f5f38bddc69a04e86fadfcdb8823885e67dc37439f5ffe15f47fa300 in ./packages/misskey-bubble-game/package.json |
| ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2 |
| ENV NODE_ENV=production |
| ENTRYPOINT ["/sbin/tini", "--"] |
| CMD ["pnpm", "run", "migrateandstart"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.41.5 |
Details
2025-10-14 14:44:06 +00:00
Versions (1)
View all
Container
14
OCI / Docker
linux/amd64
318 MiB
stable-priv
2025-10-14