Skip to content

Commit

Permalink
Fix dockerfile, fix error if symbolic link already exists (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t authored Feb 21, 2024
1 parent ac8ecaa commit 282a0c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_camino.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 282a0c2

Please sign in to comment.