From d2e31ea304366110486fec90c019105fc517b67a Mon Sep 17 00:00:00 2001 From: Mohamed Elmoslemany <117270519+mo-c4t@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:51:57 +0100 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ed40509ea2c..b19ce318f03d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ WORKDIR /build # Copy and download caminogo dependencies using go mod COPY go.mod . COPY go.sum . -COPY dependencies dependencies/ RUN go mod download # Copy the code into the container From 17bda39c4ed20f0c4c020ae057f8ea9837a24549 Mon Sep 17 00:00:00 2001 From: Mohamed Elmoslemany Date: Tue, 20 Feb 2024 16:49:15 +0100 Subject: [PATCH 2/2] fix error if symbolic link already exists --- scripts/build_camino.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_camino.sh b/scripts/build_camino.sh index 19f02f341d7d..63ded2463d73 100755 --- a/scripts/build_camino.sh +++ b/scripts/build_camino.sh @@ -55,7 +55,7 @@ mkdir -p $plugin_dir # Exit build successfully if the binaries are created if [[ -f "$caminogo_path" ]]; then - ln -s caminogo $camino_node_symlink_path + ln -sf caminogo $camino_node_symlink_path echo "Build Successful" exit 0 else