Add a Dockerfile for building the plugin

This commit is contained in:
Maschell 2018-09-23 13:30:22 +02:00
parent 5c1733f55c
commit fbefe2ad95
2 changed files with 20 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM wups/core-with-wut:0.1
# Get dependencies
COPY --from=wiiuwut/libutils:0.1 /artifacts $WUT_ROOT
WORKDIR project

View File

@ -49,3 +49,17 @@ Other external libraries are already located in the `libs` folder.
- libjpeg
- [libturbojpeg](https://libjpeg-turbo.org/)
### Building using the Dockerfile
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
```
# Build docker image (only needed once
docker build . -t screenstreamer-builder
# make
docker run -it --rm -v ${PWD}:/project screenstreamer-builder make
# make clean
docker run -it --rm -v ${PWD}:/project screenstreamer-builder make clean
```