Block a user
scratch-59 (latest)
Published 2026-08-24 03:21:39 +07:00 by ebolo
Installation
docker pull gitea.ebolo.net/ebolo/scratch-59:latestsha256:05f20ad1e5fd24292f693ec7d0c649c212dd89a9ba61b6eb98bc8d2f860897ec
Images
| Digest | OS / Arch | Size |
|---|---|---|
| ae1abc937d | linux/amd64 | 46 MiB |
| e519f8bb59 | linux/arm64 | 45 MiB |
Image Layers ( linux/arm64)
| ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --no-cache tini curl # buildkit |
| RUN /bin/sh -c mkdir -p /app/traildepot/wasm # buildkit |
| COPY /app/trail.exe /app/trail # buildkit |
| COPY /app/target/wasm32-wasip2/release/trailbase_auth_ui_component.wasm /app/traildepot/wasm/ # buildkit |
| RUN /bin/sh -c adduser -D trailbase # buildkit |
| RUN /bin/sh -c chown trailbase /app/traildepot # buildkit |
| USER trailbase |
| WORKDIR /app |
| EXPOSE [4000/tcp] |
| ENTRYPOINT ["tini" "--"] |
| CMD ["/app/trail" "--data-dir" "/app/traildepot" "run" "--address" "0.0.0.0:4000"] |
| HEALTHCHECK &{["CMD-SHELL" "curl --fail http://localhost:4000/api/healthcheck || exit 1"] "0s" "0s" "0s" "0s" '\x00'} |
| WORKDIR /app |
| COPY --chown=trailbase traildepot /app/traildepot # buildkit |
| COPY --chown=trailbase /build/dist/component.wasm /app/traildepot/wasm/component.wasm # buildkit |
| COPY --chown=trailbase /build/dist /app/public # buildkit |
| USER root |
| RUN /bin/sh -c mkdir -p /app/traildepot/data /app/traildepot/secrets /app/traildepot/uploads /app/traildepot/backups && chown -R trailbase:trailbase /app/traildepot # buildkit |
| COPY --chown=trailbase --chmod=0755 entrypoint.sh /app/entrypoint.sh # buildkit |
| USER trailbase |
| EXPOSE [4000/tcp] |
| ENTRYPOINT ["tini" "--" "/app/entrypoint.sh"] |
| CMD ["/app/trail" "--depot" "/app/traildepot" "run" "--address" "0.0.0.0:4000" "--public-dir" "/app/public" "--spa"] |
| HEALTHCHECK {Test:[CMD-SHELL curl --fail http://localhost:4000/api/healthcheck || exit 1] Interval:0s Timeout:0s StartPeriod:0s StartInterval:0s Retries:0} |