Skip to content

[container-stack/rokur] Deno install URL 'install-manual@vX.Y.Z' returns content that breaks sh #16

@hyperpolymath

Description

@hyperpolymath

Symptom

container-stack/rokur/Containerfile STEP 4/10 fails:

[1/2] STEP 4/10: RUN curl -fsSL https://deno.land/install-manual@v${DENO_VERSION}.sh | sh \
    && mv /root/.deno/bin/deno /usr/local/bin/deno
sh: syntax error: unexpected redirection
curl: (23) Failure writing output to destination, passed 16375 returned 0

Root cause

The URL https://deno.land/install-manual@v${DENO_VERSION}.sh returns content that has shell syntax sh cannot parse. The canonical Deno install URL is https://deno.land/install.sh (no install-manual@version segment). The current URL likely returns an HTML error page or a different script format.

Fix

Either:

  • Use the canonical install URL: curl -fsSL https://deno.land/install.sh | sh -s v${DENO_VERSION}, or
  • Download the binary release directly from https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno-x86_64-unknown-linux-gnu.zip

The latter is what idaptik's containers tend to use (deterministic + version-pinned).

Cross-reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions