Giter Club home page Giter Club logo

godwoken-docker-prebuilds's Introduction


godwoken-docker-prebuilds

Docker image containing all binaries used by Godwoken, saving you the hassles of building them yourself.

How to build:

$ make build-components
$ docker build . -t godwoken-prebuilds

How to upgrade:

$ # make sure it pass test..
$ make test
$ # build and push to docker-hub, will ask you to enter image tag
$ make build-push

Usage

Godwoken binary resides in /bin/godwoken, this is already in PATH so you can do this:

$ docker run --rm godwoken-prebuilds godwoken --version

gw-tools can be used in the same way:

$ docker run --rm godwoken-prebuilds gw-tools --version

CKB and ckb-cli are also available this way:

$ docker run --rm godwoken-prebuilds ckb --version
$ docker run --rm godwoken-prebuilds ckb-cli --version

CPU Feature Requirement

Starting from version 1.3.0-rc3, the published images require AVX2. Most recent x86-64 CPUs support AVX2. On linux, you can check for AVX2 support by inspecting /proc/cpuinfo or running lscpu.

If your CPU/environment does not support AVX2, you can build Godwoken targeting your specific CPU/environment:

cd build/godwoken && rustup component add rustfmt && RUSTFLAGS="-C target-cpu=native" CARGO_PROFILE_RELEASE_LTO=true cargo build --release

Check the reference of every component

docker inspect godwoken-prebuilds:[TAG] | egrep ref.component

Scripts

All the scripts used by Godwoken can be found at /scripts folder:

$ docker run --rm godwoken-prebuilds find /scripts -type f -exec sha1sum {} \;

Result

refer to checksum.txt

godwoken-docker-prebuilds's People

Contributors

blckngm avatar ethanyuan avatar flouse avatar jjyr avatar keroro520 avatar retricsu avatar xxuejie avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

godwoken-docker-prebuilds's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.