Sign inSign up

gridcoincommunity/grc-dev

By gridcoincommunity

Updated 3 months ago

Multiarch compilation/build environments for gridcoinresearch & gridcoinresearchd

Image
2

4.3K

gridcoincommunity/grc-dev repository overview

gridcoincommunity/grc-dev

Multiarch compilation environments with generous dependencies and tools for building gridcoinresearch & gridcoinresearchd

 gridcoincommunity/grc-dev:jammy       linux/amd64, linux/arm64, linux/arm/v7
 gridcoincommunity/grc-dev:bookworm    linux/amd64, linux/arm64, linux/arm/v7, linux/386
 gridcoincommunity/grc-dev:noble       linux/amd64, linux/arm64, linux/arm/v7
 gridcoincommunity/grc-dev:trixie      linux/amd64, linux/arm64, linux/arm/v7, linux/386
 gridcoincommunity/grc-dev:resolute    linux/amd64, linux/arm64, linux/arm/v7

A Swiss army knife build container for the adventurous gridcoiner. (Qt and c++ build container)

Gridcoin is a peer-to-peer cryptocurrency that uses distributed computing (BOINC) to benefit humanity by advancing the progress of medicine, biology, climatology, mathematics, astrophysics, and more.

The aim of the Gridcoin project is to shift the computational power primarily to BOINC projects whilst the POW mining calculations become a second priority - so as the mining network scales up, the network's BOINC contribution is scaled up in tandem.

The build dependencies and other tools are generous to cater for local compilation or debian packaging needs, on Ubuntu or Debian.

Unsecure: Not intended for any kind of exposure. This is a disposable development environment.

user:password = dev:dev; sudo is not enabled, but you may exit to root to modify the container. (sudo can be finicky in containers)

You may return to ordinary user with dev@xxxxxxxxx:~#su - dev

dev's default uid=1000; this can be changed to match your host user's uid by adding [-e HOST_USER_ID=xxxx] to the docker run statement.

The correct architecture will be downloaded to match your host; this can be changed for cross compiling by adding [--platform=target-platform] to the docker run statement.

In this example, items [enclosed in brackets] are optional:

docker run --rm -it [--platform=target-platform -e HOST_USER_ID=xxxx] --name grc-dev-resolute -v path2/build/folder:/home/dev gridcoincommunity/grc-dev:resolute

cmake -B build -DENABLE_GUI=ON -DUSE_QT6=ON -DENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo

cmake --build build -j $(nproc)

binaries land in build/src/ (gridcoinresearchd, qt/gridcoinresearch) — strip and install on your host as desired. See doc/build.md in the source repo for full options (depends/static, win64, and the build_targets.sh helper)

Report issues or contribute to gridcoin-docker at https://github.com/gridcoin-community/gridcoin-docker

Contribute to gridcoin itself at https://github.com/gridcoin-community/Gridcoin-Research

More info and guides at www.gridcoin.us

Tag summary

Content type

Image

Digest

sha256:89d57fac7

Size

979 MB

Last updated

3 months ago

docker pull gridcoincommunity/grc-dev:resolute