commit 3bbfd4c8991217a8ca17a6d81708704c8cc94eca Author: Jessica Date: Wed Feb 28 01:39:30 2018 -0500 Scallion diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f7d7c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +*.s?? diff --git a/scallion/Dockerfile b/scallion/Dockerfile new file mode 100644 index 0000000..2b8573d --- /dev/null +++ b/scallion/Dockerfile @@ -0,0 +1,20 @@ +FROM nvidia/opencl:runtime + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && \ + apt-get install -y --no-install-recommends clinfo mono-complete mono-devel libssl-dev curl tzdata && \ + apt-get remove mesa-* && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +WORKDIR /app + +RUN curl -s -L https://github.com/lachesis/scallion/archive/gpg.tar.gz | \ + tar --strip-components=1 -zxv + +RUN xbuild scallion.sln /p:TargetFrameworkVersion="v4.5" + +RUN cd /usr/lib/x86_64-linux-gnu && ln -s libOpenCL.so.1.0.0 libOpenCL.so + +ENTRYPOINT ["mono", "/app/scallion/bin/Debug/scallion.exe"]