This is a simple multi-language executor written in Rust for the FPR project.
cargo run -- --debug --exec-type python --port 8070 --script-path ./sample.py --listener-timeout 30000
Build the base image containing the distroless cc image and the executor binary.
docker build -f executor-base.Dockerfile -t fpr-executor-base:latest .
Build the python image containing the base image and the python runtime.
docker build -f executor-python.Dockerfile -t fpr-executor-python:latest .
Build the sample image containing the python image and the sample code.
docker build -f executor-sample.Dockerfile -t fpr-executor-sample:latest .
docker run --rm --name fpr-executor-sample-local -p 8070:8070 fpr-executor-sample:latest