Scallion
This commit is contained in:
commit
3bbfd4c899
2 changed files with 22 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules/
|
||||||
|
*.s??
|
20
scallion/Dockerfile
Normal file
20
scallion/Dockerfile
Normal file
|
@ -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"]
|
Loading…
Add table
Reference in a new issue