mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-03 18:52:17 +00:00
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.
This commit is contained in:
@@ -85,6 +85,9 @@ export const getRailpackCommand = (application: ApplicationNested) => {
|
|||||||
const bashCommand = `
|
const bashCommand = `
|
||||||
|
|
||||||
# Ensure we have a builder with containerd
|
# 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 create --use --name builder-containerd --driver docker-container || true
|
||||||
docker buildx use builder-containerd
|
docker buildx use builder-containerd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user