https://github.com/opennetworkinglab/p4c-docker
https://github.com/opennetworkinglab/p4c-docker
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/opennetworkinglab/p4c-docker
- Owner: opennetworkinglab
- License: apache-2.0
- Created: 2019-05-19T06:02:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-11T15:23:18.000Z (over 4 years ago)
- Last Synced: 2024-03-26T18:02:32.697Z (about 2 years ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-based distribution of p4c
Minimal Docker image with the open source P4 compiler (p4c) that includes the
following backends:
* `p4c-bm-ss`: BMv2 simple_switch backend;
* `p4c-graphs`: graphs generator.
This image was created to facilitate the compilation of P4 programs distributed
with the ONOS SDN controller, but you can use it without ONOS.
To obtain the image:
docker pull opennetworking/p4c:
## Tags
The image comes in two tags:
* `opennetworking/p4c:latest` Updated daily and built from the master branch of
the [p4lang/p4c][p4c] repository;
* `opennetworking/p4c:stable` Built using an arbitrarily selected p4c commit that
produces outputs known to work well with the ONOS development and testing
environment.
* `opennetworking/p4c:stable-20210108` Built using a p4c commit from 2021-01-08 that
supports `@p4runtime_translation` annotations.
## Status [](https://github.com/opennetworkinglab/p4c-docker/actions/workflows/main.yml)
Images are built daily using [Github Actions][GH Actions] and pushed to
[Docker Hub][Docker Hub].
[GH Actions]: https://github.com/features/actions
[Docker Hub]: https://hub.docker.com/r/opennetworking/p4c
[p4c]: https://github.com/p4lang/p4c