Skip to content

Commit

Permalink
remove version
Browse files Browse the repository at this point in the history
  • Loading branch information
maiquanghiep committed Sep 7, 2024
1 parent b3088fe commit 3f07cd6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions contrib/images/babylond/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM --platform=$BUILDPLATFORM golang:1.21 AS build-env

# Version to build. Default is empty
ARG VERSION
ARG BUILD_TAGS=""
ARG LEDGER_ENABLED="false"
ARG COSMOS_BUILD_OPTIONS=""
Expand All @@ -11,12 +9,6 @@ ARG TARGETOS TARGETARCH
WORKDIR /go/src/github.com/babylonlabs-io/babylon
COPY ./ /go/src/github.com/babylonlabs-io/babylon/

# Handle if version is set
RUN if [ -n "${VERSION}" ]; then \
git fetch origin tag ${VERSION} --no-tags; \
git checkout -f ${VERSION}; \
fi

# Cache mod dependencies
RUN go mod download

Expand Down

0 comments on commit 3f07cd6

Please sign in to comment.