From 5156b45ffc7ad25bb59f0a162e9488154ebc9c42 Mon Sep 17 00:00:00 2001 From: IPdotSetAF Date: Sun, 11 May 2025 10:36:52 +0330 Subject: [PATCH 1/2] fix: installed git-lfs in docker image --- apps/dokploy/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/Dockerfile b/apps/dokploy/Dockerfile index f4188c54..0537b03e 100644 --- a/apps/dokploy/Dockerfile +++ b/apps/dokploy/Dockerfile @@ -8,7 +8,7 @@ COPY . /usr/src/app WORKDIR /usr/src/app -RUN apt-get update && apt-get install -y python3 make g++ git && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y python3 make g++ git git-lfs && git lfs install && rm -rf /var/lib/apt/lists/* # Install dependencies RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile From 911681f3893a87bca64e5955613ca3dcd7b9a46f Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 17 May 2025 02:03:04 -0600 Subject: [PATCH 2/2] fix: add git-lfs installation to various OS setups in server-setup script --- packages/server/src/setup/server-setup.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/server/src/setup/server-setup.ts b/packages/server/src/setup/server-setup.ts index d1d42257..52d8e095 100644 --- a/packages/server/src/setup/server-setup.ts +++ b/packages/server/src/setup/server-setup.ts @@ -356,20 +356,20 @@ const installUtilities = () => ` case "$OS_TYPE" in arch) - pacman -Sy --noconfirm --needed curl wget git jq openssl >/dev/null || true + pacman -Sy --noconfirm --needed curl wget git git-lfs jq openssl >/dev/null || true ;; alpine) sed -i '/^#.*\/community/s/^#//' /etc/apk/repositories apk update >/dev/null - apk add curl wget git jq openssl sudo unzip tar >/dev/null + apk add curl wget git git-lfs jq openssl sudo unzip tar >/dev/null ;; ubuntu | debian | raspbian) DEBIAN_FRONTEND=noninteractive apt-get update -y >/dev/null - DEBIAN_FRONTEND=noninteractive apt-get install -y unzip curl wget git jq openssl >/dev/null + DEBIAN_FRONTEND=noninteractive apt-get install -y unzip curl wget git git-lfs jq openssl >/dev/null ;; centos | fedora | rhel | ol | rocky | almalinux | amzn) if [ "$OS_TYPE" = "amzn" ]; then - dnf install -y wget git jq openssl >/dev/null + dnf install -y wget git git-lfs jq openssl >/dev/null else if ! command -v dnf >/dev/null; then yum install -y dnf >/dev/null @@ -377,12 +377,12 @@ const installUtilities = () => ` if ! command -v curl >/dev/null; then dnf install -y curl >/dev/null fi - dnf install -y wget git jq openssl unzip >/dev/null + dnf install -y wget git git-lfs jq openssl unzip >/dev/null fi ;; sles | opensuse-leap | opensuse-tumbleweed) zypper refresh >/dev/null - zypper install -y curl wget git jq openssl >/dev/null + zypper install -y curl wget git git-lfs jq openssl >/dev/null ;; *) echo "This script only supports Debian, Redhat, Arch Linux, or SLES based operating systems for now."