Skip to content

Commit

Permalink
Fixes for docker scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyilong committed Mar 21, 2023
1 parent 4997dfd commit 009775e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
6 changes: 3 additions & 3 deletions integration/docker/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM golang:1.11
FROM --platform=linux/amd64 golang:1.19

VOLUME ["/go"]

WORKDIR /go/src/github.com/thetatoken/theta/
WORKDIR /go/src/github.com/thetatoken/thetasubchain/

ENV GOPATH=/go

ENV CGO_ENABLED=1

ENV GO111MODULE=on

CMD ["/go/src/github.com/thetatoken/theta/integration/docker/build/start.sh"]
CMD ["/go/src/github.com/thetatoken/thetasubchain/integration/docker/build/start.sh"]



Empty file modified integration/docker/build/build.sh
100644 → 100755
Empty file.
11 changes: 2 additions & 9 deletions integration/docker/build/start.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ set -x

GOBIN=/usr/local/go/bin/go

$GOBIN build -o ./build/linux/theta ./cmd/theta
$GOBIN build -o ./build/linux/thetacli ./cmd/thetacli
$GOBIN build -o ./build/linux/dump_storeview ./integration/tools/dump_storeview
$GOBIN build -o ./build/linux/encrypt_sk ./integration/tools/encrypt_sk
$GOBIN build -o ./build/linux/generate_genesis ./integration/tools/generate_genesis
$GOBIN build -o ./build/linux/hex_obj_parser ./integration/tools/hex_obj_parser
$GOBIN build -o ./build/linux/inspect_data ./integration/tools/inspect_data
$GOBIN build -o ./build/linux/query_db ./integration/tools/query_db
$GOBIN build -o ./build/linux/sign_hex_msg ./integration/tools/sign_hex_msg
$GOBIN build -buildvcs=false -o ./build/linux/thetasubchain ./cmd/thetasubchain
$GOBIN build -buildvcs=false -o ./build/linux/thetasubcli ./cmd/thetasubcli

set +x

Expand Down

0 comments on commit 009775e

Please sign in to comment.