-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3148787
commit a301d3f
Showing
4 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
from aburgess/common:latest as nrr | ||
|
||
run apk add --no-cache unzip | ||
|
||
arg TARGETARCH | ||
arg NRR_VERSION=v0.9.2 | ||
arg NRR_PREFIX=https://github.com/ryanccn/nrr/releases/download/${NRR_VERSION}/nrr- | ||
arg NRR_SUFFIX=-unknown-linux-musl.zip | ||
|
||
run [ $TARGETARCH == "arm64" ] && TARGETARCH="aarch64" || TARGETARCH="x86_64"; wget -q --no-hsts $NRR_PREFIX$TARGETARCH$NRR_SUFFIX; unzip -j nrr*.zip; rm nrr*.zip | ||
|
||
from aburgess/node:20 | ||
|
||
run apk add --no-cache npm git jq && npm install -g npm && npm install -g yarn pnpm @adamburgess/nr && pnpm config set script-shell /bin/bash | ||
run --mount=from=nrr,source=/nrr,target=/nrr apk add --no-cache git && npm install -g npm && npm install -g pnpm && pnpm config set script-shell /bin/bash && cp /nrr /usr/bin/nrr && alias nr=nrr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
from aburgess/common:latest as nrr | ||
|
||
run apk add --no-cache unzip | ||
|
||
arg TARGETARCH | ||
arg NRR_VERSION=v0.9.2 | ||
arg NRR_PREFIX=https://github.com/ryanccn/nrr/releases/download/${NRR_VERSION}/nrr- | ||
arg NRR_SUFFIX=-unknown-linux-musl.zip | ||
|
||
run [ $TARGETARCH == "arm64" ] && TARGETARCH="aarch64" || TARGETARCH="x86_64"; wget -q --no-hsts $NRR_PREFIX$TARGETARCH$NRR_SUFFIX; unzip -j nrr*.zip; rm nrr*.zip | ||
|
||
from aburgess/node:22 | ||
|
||
run apk add --no-cache git jq && npm install -g npm && npm install -g pnpm @adamburgess/nr && pnpm config set script-shell /bin/bash | ||
run --mount=from=nrr,source=/nrr,target=/nrr apk add --no-cache git && npm install -g npm && npm install -g pnpm && pnpm config set script-shell /bin/bash && cp /nrr /usr/bin/nrr && alias nr=nrr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters