plachta11b / containers-swig

Dockerfiles used to build swig win/linux images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

containers-swig

Dockerfiles used to build swig win/linux images

# Clone repository
git clone https://github.com/plachta11b/containers-swig.git
cd containers-swig

Linux

Comming soon. Use this one instead for now.

Windows

Build windows image

Image uses Windows Server Core by default. Read win-containers-eula and Legal Notice before using corresponding Windows Dockerfile.

# Build image
docker build -t swig:win-x64-latest -f win/x64/Dockerfile .

Usage

Use of --workdir instead of --outdir is recommended as later flag was not working as expected during image testing.

# Use swig to build wrapper
docker run -v ${PWD}:C:\app\ --workdir C:/app/js_dir swig:swig:win-x64-latest C:\usr\src\swig\swig.exe -c++ -javascript -node -outcurrentdir C:\app\cpp_dir\app.i

SWIG

About

Dockerfiles used to build swig win/linux images

License:MIT License


Languages

Language:Dockerfile 100.0%