Skip to content

Commit

Permalink
Fix make build-reproducible (#4901) (#4902)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0c2f2e4)

Co-authored-by: Niccolo Raspa <[email protected]>
  • Loading branch information
mergify[bot] and niccoloraspa authored Apr 12, 2023
1 parent fec4a9e commit a22b270
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ install: check_version go.sum

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

build-reproducible-amd64: go.sum $(BUILDDIR)/
build-reproducible-amd64: go.sum
mkdir -p $(BUILDDIR)
$(DOCKER) buildx create --name osmobuilder || true
$(DOCKER) buildx use osmobuilder
$(DOCKER) buildx build \
Expand All @@ -129,7 +130,8 @@ build-reproducible-amd64: go.sum $(BUILDDIR)/
$(DOCKER) cp osmobinary:/bin/osmosisd $(BUILDDIR)/osmosisd-linux-amd64
$(DOCKER) rm -f osmobinary

build-reproducible-arm64: go.sum $(BUILDDIR)/
build-reproducible-arm64: go.sum
mkdir -p $(BUILDDIR)
$(DOCKER) buildx create --name osmobuilder || true
$(DOCKER) buildx use osmobuilder
$(DOCKER) buildx build \
Expand Down

0 comments on commit a22b270

Please sign in to comment.