https://github.com/robotpy/robotpy-cross-docker
Docker image used for compiling RobotPy for RoboRIO
https://github.com/robotpy/robotpy-cross-docker
docker-image
Last synced: 10 months ago
JSON representation
Docker image used for compiling RobotPy for RoboRIO
- Host: GitHub
- URL: https://github.com/robotpy/robotpy-cross-docker
- Owner: robotpy
- Created: 2020-01-14T02:37:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T06:51:46.000Z (over 3 years ago)
- Last Synced: 2025-01-16T07:16:12.733Z (over 1 year ago)
- Topics: docker-image
- Language: Dockerfile
- Size: 16.6 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
robotpy-cross-docker
====================
A docker image to be used for cross-compiling packages for the RoboRIO
platform.
Usage
=====
Note: these instructions should work on OSX and Linux
Build the container
-------------------
If you want to just download our docker image from docker hub, you can skip
this step. This step will take a *long* time.
$ make image
Use the container
-----------------
Run the docker image (note that we map the current directory to the `/v`
directory):
$ docker run --rm -it -v $(pwd):/v robotpy/roborio-cross-ubuntu:2023.1
Once you're in the container, source the virtual environment and you can now
build python packages for the RoboRIO!
# source /build/venv/bin/activate
(use pip as normal)
For example, to create a wheel for `pyyaml`, you could do:
(cross) root@container:/# pip wheel pyyaml
Author
======
Many thanks to @DirtyJerz for putting the initial version of this together!