Skip to content

Commit

Permalink
contrib: support nydus-overlayfs and ctr-remote on different platforms
Browse files Browse the repository at this point in the history
Otherwise, the binary we compiled cannot run on other platforms such as
arm.

Signed-off-by: Huang Jianan <jnhuang@linux.alibaba.com>
  • Loading branch information
mofishzz authored and jiangliu committed May 16, 2023
1 parent 04fb92c commit cf6a216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/ctr-remote/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT_COMMIT := $(shell git rev-list -1 HEAD)
BUILD_TIME := $(shell date -u +%Y%m%d.%H%M)
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
GOARCH ?= amd64
GOARCH ?= $(shell go env GOARCH)
GOPROXY ?= https://goproxy.io

ifdef GOPROXY
Expand Down
2 changes: 1 addition & 1 deletion contrib/nydus-overlayfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT_COMMIT := $(shell git rev-parse --verify HEAD --short=7)
BUILD_TIME := $(shell date -u +%Y%m%d.%H%M)
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
GOARCH ?= amd64
GOARCH ?= $(shell go env GOARCH)
GOPROXY ?= https://goproxy.io

ifdef GOPROXY
Expand Down

0 comments on commit cf6a216

Please # to comment.