Block a user
zauberstaub-backend (sha-1693bb3)
Published 2025-11-25 01:50:55 +01:00 by jonas
Installation
docker pull git.servercentral.org/jonas/zauberstaub-backend:sha-1693bb3sha256:9c4439f53ad8171a8735a7615ec6eb6b4e58b411ddc23db7cd75d7f7540a2ae8
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 5ea2bce858 | linux/amd64 | 392 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk --no-cache add ca-certificates curl chromium nss freetype freetype-dev harfbuzz ttf-freefont udev ttf-opensans # buildkit |
| RUN /bin/sh -c apk add --no-cache libstdc++ xz tar gcompat libatomic && ARCH=$(uname -m) && if [ "$ARCH" = "x86_64" ]; then NODE_ARCH="x64"; elif [ "$ARCH" = "aarch64" ]; then NODE_ARCH="arm64"; else echo "Unsupported architecture: $ARCH" && exit 1; fi && NODE_VERSION="25.1.0" && echo "Downloading Node.js ${NODE_VERSION} for ${NODE_ARCH}..." && curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.xz" -o /tmp/node.tar.xz && echo "Extracting Node.js..." && mkdir -p /tmp/nodejs && xzcat /tmp/node.tar.xz | tar -x -C /tmp/nodejs && echo "Checking extracted contents..." && ls -la /tmp/nodejs/ && NODE_DIR="/tmp/nodejs/node-v${NODE_VERSION}-linux-${NODE_ARCH}" && if [ ! -d "$NODE_DIR" ]; then echo "ERROR: Node.js directory not found. Contents:" && ls -la /tmp/nodejs/ && exit 1; fi && mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share && cp -r "$NODE_DIR"/* /usr/local/ || (echo "ERROR: Failed to copy Node.js files" && exit 1) && rm -rf /tmp/nodejs /tmp/node.tar.xz && echo "Verifying Node.js installation..." && echo "Contents of /usr/local/bin:" && ls -la /usr/local/bin/ && test -f /usr/local/bin/node || (echo "ERROR: node binary not found" && ls -la /usr/local/bin/ && exit 1) && test -f /usr/local/bin/npm || (echo "ERROR: npm binary not found" && exit 1) && echo "Testing Node.js execution..." && ( /usr/local/bin/node --version 2>&1 || echo "Warning: Node.js version check failed, but binary exists" ) && ( /usr/local/bin/npm --version 2>&1 || echo "Warning: npm version check failed, but binary exists" ) && ln -sf /usr/local/bin/node /usr/bin/node && ln -sf /usr/local/bin/npm /usr/bin/npm && echo "Node.js installation complete" # buildkit |
| RUN /bin/sh -c adduser -D -s /bin/sh appuser # buildkit |
| WORKDIR /app |
| COPY /app/main . # buildkit |
| COPY /app/migrations ./migrations # buildkit |
| COPY /app/package.json ./package.json # buildkit |
| COPY /app/scripts ./scripts # buildkit |
| RUN /bin/sh -c npm install --production && chmod +x ./scripts/generate-multiavatar.js || echo "Note: npm install failed" # buildkit |
| RUN /bin/sh -c mkdir -p storage/images storage/audio avatars # buildkit |
| RUN /bin/sh -c chown -R appuser:appuser storage avatars migrations scripts package*.json && ([ -d node_modules ] && chown -R appuser:appuser node_modules || true) # buildkit |
| USER appuser |
| EXPOSE [8080/tcp] |
| CMD ["./main"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2025-11-25T00:45:12.344Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 1693bb34aa4b5ad74ff27757b33acdcd24616391 |
| org.opencontainers.image.source | https://git.servercentral.org/Vibico/zauberstaub |
| org.opencontainers.image.title | zauberstaub |
| org.opencontainers.image.url | https://git.servercentral.org/Vibico/zauberstaub |
| org.opencontainers.image.version | main |
Details
2025-11-25 01:50:55 +01:00
Versions (147)
View all
Container
0
OCI / Docker
main-e0c9fc6
2025-12-05
sha-e0c9fc6
2025-12-05
main
2025-12-05
latest
2025-12-05
sha-33df693
2025-12-04