Skip to content

NavasotaBrewing/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Dockerfiles

This repository hosts our Dockerfiles.

RTU Compiler

The RTUs right now are raspberry Pis, and RPis don't compile Rust very well due to their low memory and CPU power. The Dockerfile in the rtu-compiler/ directory is the source for navasotabrewing/bcs-rtu-compiler on Dockerhub.

Cross compiling for RTUs

You can use cross to cross compile Rust easily, using our Docker container.

The only rust packages in our organization that run on RTUs are NavasotaBrewing/cli and NavasotaBrewing/network. For both projects, be sure the Cross.toml is present with the following

# Cross.toml
[target.armv7-unknown-linux-gnueabihf]
# You may want to update this to the latest version, if available
image = "navasotabrewing/bcs-rtu-compiler:1.0.0"

then run

$ cross build --target armv7-unknown-linux-gnueabihf

The compiled binary will be in the target/ directory, you can send it over to the RTUs.

About

Hosts our Dockerfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published