Skip to content
Merged
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
11 changes: 9 additions & 2 deletions container-stack/rokur/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ FROM cgr.dev/chainguard/wolfi-base:latest AS build
RUN apk add --no-cache curl unzip

# Install Deno (pinned version for reproducibility).
# Using direct binary download from GitHub releases — the previous
# `deno.land/install-manual@vX.Y.Z.sh` URL doesn't return a parseable
# install script (sh hits "syntax error: unexpected redirection" when
# piping its content).
ARG DENO_VERSION=2.2.8
RUN curl -fsSL https://deno.land/install-manual@v${DENO_VERSION}.sh | sh \
&& mv /root/.deno/bin/deno /usr/local/bin/deno
RUN curl -fsSL "https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno-x86_64-unknown-linux-gnu.zip" \
-o /tmp/deno.zip \
&& unzip /tmp/deno.zip -d /usr/local/bin \
&& rm /tmp/deno.zip \
&& chmod +x /usr/local/bin/deno

# Pre-cache dependencies by copying deno.json first.
WORKDIR /build
Expand Down
Loading