Skip to content

Commit

Permalink
Add small fixes (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
niccoloraspa authored Aug 23, 2022
1 parent c483c32 commit d2a1649
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ $(BUILDDIR)/:

build-reproducible: build-reproducible-amd64 build-reproducible-arm64

build-reproducible-amd64: go.sum
build-reproducible-amd64: go.sum $(BUILDDIR)/
$(DOCKER) buildx create --name osmobuilder || true
$(DOCKER) buildx use osmobuilder
$(DOCKER) buildx build \
--build-arg GO_VERSION=$(shell go list -f {{.GoVersion}} -m) \
--build-arg GO_VERSION=$(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2) \
--platform linux/arm64 \
-t osmosis-amd64 \
--load \
Expand All @@ -112,11 +112,11 @@ build-reproducible-amd64: go.sum
$(DOCKER) cp osmobinary:/bin/osmosisd $(BUILDDIR)/osmosisd-linux-amd64
$(DOCKER) rm -f osmobinary

build-reproducible-arm64: go.sum
build-reproducible-arm64: go.sum $(BUILDDIR)/
$(DOCKER) buildx create --name osmobuilder || true
$(DOCKER) buildx use osmobuilder
$(DOCKER) buildx build \
--build-arg GO_VERSION=$(shell go list -f {{.GoVersion}} -m) \
--build-arg GO_VERSION=$(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2) \
--platform linux/arm64 \
-t osmosis-arm64 \
--load \
Expand Down

0 comments on commit d2a1649

Please sign in to comment.