Skip to content

Commit 42abc27

Browse files
committed
fix(docker): pin rtk installer script
1 parent e42c767 commit 42abc27

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/app/src/lib/core/templates/dockerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const renderDockerfileRtk = (): string =>
9797
ARG RTK_VERSION=v0.39.0
9898
RUN set -eu; \
9999
curl -fsSL --retry 5 --retry-all-errors --retry-delay 2 \
100-
https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh \
100+
https://raw.githubusercontent.com/rtk-ai/rtk/\${RTK_VERSION}/install.sh \
101101
-o /tmp/rtk-install.sh; \
102102
RTK_VERSION="\${RTK_VERSION}" RTK_INSTALL_DIR=/usr/local/bin sh /tmp/rtk-install.sh; \
103103
rm -f /tmp/rtk-install.sh; \

packages/lib/src/core/templates/dockerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const renderDockerfileRtk = (): string =>
9797
ARG RTK_VERSION=v0.39.0
9898
RUN set -eu; \
9999
curl -fsSL --retry 5 --retry-all-errors --retry-delay 2 \
100-
https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh \
100+
https://raw.githubusercontent.com/rtk-ai/rtk/\${RTK_VERSION}/install.sh \
101101
-o /tmp/rtk-install.sh; \
102102
RTK_VERSION="\${RTK_VERSION}" RTK_INSTALL_DIR=/usr/local/bin sh /tmp/rtk-install.sh; \
103103
rm -f /tmp/rtk-install.sh; \

packages/lib/tests/core/templates.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe("renderDockerfile", () => {
6767
"ncurses-term jq",
6868
"# Tooling: RTK (Rust Token Killer)",
6969
"ARG RTK_VERSION=v0.39.0",
70-
"https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh",
70+
'https://raw.githubusercontent.com/rtk-ai/rtk/${RTK_VERSION}/install.sh',
7171
'RTK_VERSION="${RTK_VERSION}" RTK_INSTALL_DIR=/usr/local/bin sh /tmp/rtk-install.sh',
7272
"rtk --version",
7373
"rtk gain >/dev/null 2>&1 || true",

0 commit comments

Comments
 (0)