MCPcopy
hub / github.com/Dokploy/dokploy / installBuildpacks

Function installBuildpacks

packages/server/src/setup/server-setup.ts:747–759  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

745`;
746
747const installBuildpacks = () => `
748 SUFFIX=""
749 if [ "$SYS_ARCH" = "aarch64" ] || [ "$SYS_ARCH" = "arm64" ]; then
750 SUFFIX="-arm64"
751 fi
752 if command_exists pack; then
753 echo "Buildpacks already installed ✅"
754 else
755 BUILDPACKS_VERSION=0.39.1
756 curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.39.1/pack-v$BUILDPACKS_VERSION-linux$SUFFIX.tgz" | $SUDO_CMD tar -C /usr/local/bin/ --no-same-owner -xzv pack
757 echo "Buildpacks version $BUILDPACKS_VERSION installed ✅"
758 fi
759`;

Callers 1

defaultCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected