From ff27f0828bfcfba67d25c11da94e24ce677682db Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Wed, 26 Nov 2025 02:59:32 -0500 Subject: [PATCH] feat: add Railpack installation command to builder script - Introduced a command to set the RAILPACK_VERSION environment variable and execute the Railpack installation script. - This enhancement ensures that the correct version of Railpack is used during the build process. --- packages/server/src/utils/builders/railpack.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/server/src/utils/builders/railpack.ts b/packages/server/src/utils/builders/railpack.ts index 03d490cdf..62fa9f975 100644 --- a/packages/server/src/utils/builders/railpack.ts +++ b/packages/server/src/utils/builders/railpack.ts @@ -85,6 +85,9 @@ export const getRailpackCommand = (application: ApplicationNested) => { const bashCommand = ` # Ensure we have a builder with containerd + +export RAILPACK_VERSION=${application.railpackVersion} +bash -c "$(curl -fsSL https://railpack.com/install.sh)" docker buildx create --use --name builder-containerd --driver docker-container || true docker buildx use builder-containerd