Files
s41r4j-cybot/docker/toolbox/supplychain.Dockerfile
T
s41r4j 0f03d49514
CI / contracts (push) Canceled after 0s
Website / deploy (push) Canceled after 0s
CI / test (macos-latest) (push) Canceled after 0s
CI / test (ubuntu-24.04) (push) Canceled after 0s
CI / test (ubuntu-24.04-arm) (push) Canceled after 0s
CI / test (windows-latest) (push) Canceled after 0s
CI / Compact real-tool fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Compact real-tool fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Code analysis fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Code analysis fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Web engine fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Web engine fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Chromium operation fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Chromium operation fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / operation-readiness (push) Canceled after 0s
CI / Supply chain fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Supply chain fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
Initial commit
2026-11-01 09:14:18 +05:30

25 lines
1.4 KiB
Docker

FROM debian:trixie-slim@sha256:f6b08b09a05725f9431502d3b5714f5c4576e82c1a84fa1debe0c24a7e0c3ec4
LABEL org.opencontainers.image.title="CYBOT Supply Chain Toolbox" \
org.opencontainers.image.source="https://github.com/s41r4j/cybot" \
io.cybot.managed="true" io.cybot.profile="supplychain"
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates=20250419+deb13u1 \
&& rm -rf /var/lib/apt/lists/* \
&& useradd --create-home --uid 10001 --shell /bin/sh cybot \
&& mkdir -p /workspace/.cybot /data /reports /home/cybot/.cache /home/cybot/.config \
&& chown -R 10001:10001 /workspace /data /reports /home/cybot \
&& chmod 0755 /home/cybot
COPY bin/ /opt/cybot/bin/
COPY share/ /opt/cybot/share/
COPY supplychain.lock.json /opt/cybot/manifest/supplychain.lock.json
COPY entrypoint.sh /usr/local/bin/cybot-toolbox
ENV PATH="/opt/cybot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
HOME=/home/cybot XDG_CACHE_HOME=/home/cybot/.cache XDG_CONFIG_HOME=/home/cybot/.config \
CYBOT_TOOLBOX_INTERNAL=1 CYBOT_PACK_AUTO_UPDATE=0 GOMAXPROCS=1 GOMEMLIMIT=768MiB \
SYFT_CHECK_FOR_APP_UPDATE=false CYBOT_TRIVY_CACHE_DIR=/opt/cybot/datasets/@DATABASE_SHA256@/trivy \
GRYPE_DB_CACHE_DIR=/opt/cybot/datasets/@GRYPE_DATABASE_SHA256@/grype \
GRYPE_DB_AUTO_UPDATE=false GRYPE_CHECK_FOR_APP_UPDATE=false
USER 10001:10001
WORKDIR /workspace
ENTRYPOINT ["/usr/local/bin/cybot-toolbox"]
CMD ["help"]