Skip to content

DELTSV/fpr_executor

Repository files navigation

FPR Rust executor

This is a simple multi-language executor written in Rust for the FPR project.

Usage dev mode

cargo run -- --debug --exec-type python --port 8070 --script-path ./sample.py --listener-timeout 30000

Build images manually

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 .

Run the sample image

docker run --rm --name fpr-executor-sample-local -p 8070:8070 fpr-executor-sample:latest

About

Executeur de jeux en rust du projet "fpr"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published