File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/server/src/utils/builders Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,15 @@ export const getRailpackCommand = (application: ApplicationNested) => {
7575 buildArgs . push ( buildAppDirectory ) ;
7676
7777 const bashCommand = `
78+
7879# Ensure we have a builder with containerd
7980docker buildx create --use --name builder-containerd --driver docker-container || true
8081docker buildx use builder-containerd
8182
8283echo "Preparing Railpack build plan..." ;
8384railpack ${ prepareArgs . join ( " " ) } || {
8485 echo "❌ Railpack prepare failed" ;
86+ docker buildx rm builder-containerd || true
8587 exit 1;
8688}
8789echo "✅ Railpack prepare completed." ;
@@ -91,6 +93,7 @@ echo "Building with Railpack frontend..." ;
9193${ exportEnvs . join ( "\n" ) }
9294docker ${ buildArgs . join ( " " ) } || {
9395 echo "❌ Railpack build failed" ;
96+ docker buildx rm builder-containerd || true
9497 exit 1;
9598}
9699echo "✅ Railpack build completed." ;
You can’t perform that action at this time.
0 commit comments