Skip to content

Commit

Permalink
Replace build tags (#1636) (#1637)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2f930cb)

Co-authored-by: Niccolo Raspa <[email protected]>
  • Loading branch information
mergify[bot] and Niccolo Raspa authored Jun 1, 2022
1 parent 6b70210 commit b3915fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/images/osmobuilder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ RUN cp /lib/libwasmvm_muslc.$(uname -m).a /lib/libwasmvm_muslc.a
RUN go build \
-mod=readonly \
-tags "$BUILD_TAGS" \
-ldflags "-X github.com/osmosis-labs/osmosis/version.Name=$NAME -X github.com/osmosis-labs/osmosis/version.AppName=$APP_NAME -X github.com/osmosis-labs/osmosis/version.Version=$VERSION -X github.com/osmosis-labs/osmosis/version.Commit=$COMMIT -X github.com/osmosis-labs/osmosis/version.BuildTags='netgo,ledger,muslc' -w -s -linkmode=external -extldflags '-Wl,-z,muldefs -static'" \
-ldflags "-X github.com/cosmos/cosmos-sdk/version.Name=$NAME -X github.com/cosmos/cosmos-sdk/version.AppName=$APP_NAME -X github.com/cosmos/cosmos-sdk/version.Version=$VERSION -X github.com/cosmos/cosmos-sdk/version.Commit=$COMMIT -X github.com/cosmos/cosmos-sdk/version.BuildTags='netgo,ledger,muslc' -w -s -linkmode=external -extldflags '-Wl,-z,muldefs -static'" \
-trimpath \
-o /osmosis/build/ \
./...

ENTRYPOINT ["ash"]
ENTRYPOINT ["ash"]

0 comments on commit b3915fb

Please sign in to comment.