Skip to content

BuildingDocker

D. Fober edited this page Mar 27, 2018 · 2 revisions

Compiling the FAUST project: using Docker.

Building Faust with Docker:

Building Faust with Docker avoids resolving the project dependencies. This is taken in charge by a Dockerfile. From the root directory, simply type:

docker build . --tag faust

At the end of the process, you should have a docker image named faust, which you can check with:

docker images

Note that the docker image configuration and setup is taken from the Dockerfile located at the root of the faust repository.

Running Faust with Docker:

You can then run faust from the command line using

docker run faust [args...]

where argsare standard faust arguments.

Examples:

To display the faust help:

docker run faust -h

To compile a dsp file:

docker run faust examples/generator/noise.dsp

To use an additional tool, for example faust2pdf:

docker run --entrypoint faust2pdf faust [args...]

Clone this wiki locally