Skip to content

Commit

Permalink
chore: reduce the dockerfile size by only fetch the needed tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Aug 7, 2024
1 parent 3407f71 commit ea74d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/images/babylond/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN go mod download
COPY ./ /go/src/github.com/babylonlabs-io/babylon/
# If version is set, then checkout this version
RUN if [ -n "${VERSION}" ]; then \
git fetch --all; \
git fetch origin ${VERSION}; \
git checkout -f ${VERSION}; \
fi

Expand Down

0 comments on commit ea74d03

Please sign in to comment.