Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ RUN ARCH="${TARGETARCH:-$(dpkg --print-architecture)}" && \
# --- Layer 8.27: OMP CLI (Oh My Pi — backend: omp) ---
# Mirrored from Dockerfile.contributor so hub agents can launch backend: omp.
# Downloads are optional like Goose/agy, but checksum mismatches are fatal.
ARG OMP_VERSION=18.15.0
ARG OMP_SHA256_AMD64=6737ee2415555a3656cc7b89c14d1c25c18658ee4c0fd4f7309705149ccb7b0f
ARG OMP_SHA256_ARM64=6d7d65030ba562d73cb0687b9710e0ac597b362a185d1911e7b211706dadd4ac
ARG OMP_VERSION=18.16.0
ARG OMP_SHA256_AMD64=6498ed785bab00d2926e0387e0ec02362d6d45f1c3d0d1b57c1618b7f95c9264
ARG OMP_SHA256_ARM64=c2be1ea85ce17c4270854b57efff2a7ea1d5a03c7557fd08721f2b9bb32698de
RUN ARCH="${TARGETARCH:-$(dpkg --print-architecture)}" \
&& case "$ARCH" in \
amd64|x86_64) OMP_ASSET=omp-linux-x64; OMP_SHA256="$OMP_SHA256_AMD64" ;; \
Expand Down
6 changes: 3 additions & 3 deletions src/Dockerfile.contributor
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
# NODESOURCE_KEY_SHA256 is the digest of the raw ASCII-armored key as
# published at the URL below; re-verify against NodeSource's documented
# fingerprint (6F71F5252828 41EEDAF851B4 2F59B5F99B1B E0B4) before bumping.
ARG NODESOURCE_KEY_SHA256=b42e0321dabdc24e892115da705cf061167eac12a317f23d329862d0aa0a271d

Check warning on line 222 in src/Dockerfile.contributor

View workflow job for this annotation

GitHub Actions / build-contributor (linux/arm64, true, true, 75)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NODESOURCE_KEY_SHA256") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 222 in src/Dockerfile.contributor

View workflow job for this annotation

GitHub Actions / build-contributor (linux/amd64, true, false, 60)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NODESOURCE_KEY_SHA256") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL -o /tmp/nodesource.key https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
&& echo "${NODESOURCE_KEY_SHA256} /tmp/nodesource.key" | sha256sum -c - \
Expand Down Expand Up @@ -461,9 +461,9 @@
# No credential is baked in: omp reads the selected model's provider
# credential from its documented environment variables (ANTHROPIC_API_KEY,
# OPENAI_API_KEY, …), which the Justfile's container arm already forwards.
ARG OMP_VERSION=18.15.0
ARG OMP_SHA256_AMD64=6737ee2415555a3656cc7b89c14d1c25c18658ee4c0fd4f7309705149ccb7b0f
ARG OMP_SHA256_ARM64=6d7d65030ba562d73cb0687b9710e0ac597b362a185d1911e7b211706dadd4ac
ARG OMP_VERSION=18.16.0
ARG OMP_SHA256_AMD64=6498ed785bab00d2926e0387e0ec02362d6d45f1c3d0d1b57c1618b7f95c9264
ARG OMP_SHA256_ARM64=c2be1ea85ce17c4270854b57efff2a7ea1d5a03c7557fd08721f2b9bb32698de
RUN ARCH="${TARGETARCH:-$(dpkg --print-architecture)}" \
&& case "$ARCH" in \
amd64) OMP_ASSET=omp-linux-x64; OMP_SHA256="$OMP_SHA256_AMD64" ;; \
Expand Down
Loading