Skip to content

Commit

Permalink
feat:update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <[email protected]>
  • Loading branch information
GrapeBaBa committed Mar 15, 2024
1 parent e145ffa commit 71bc26d
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 322 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.portal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

COPY . .
RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build ./cmd/hive/main.go
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build ./cmd/shisui/main.go


FROM --platform=linux/amd64 ubuntu:22.04
Expand Down
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ GOBIN = ./build/bin
GO ?= latest
GORUN = go run

#? shisui: Build shisui
shisui:
go build ./cmd/shisui/main.go
cp main $(GOBIN)/shisui
@echo "Done building."
@echo "Run \"$(GOBIN)/shisui\" to launch shisui."

#? shisui-image: Build shisui image
shisui-image:
docker build -t ghcr.io/optimism-java/shisui:latest -f Dockerfile.portal .

#? geth: Build geth
geth:
$(GORUN) build/ci.go install ./cmd/geth
Expand Down
Loading

0 comments on commit 71bc26d

Please sign in to comment.