Public Repository

Last pushed: 10 months ago
Short Description
Uses mono 4.6 and Nunit 3.5 to test a .NET assembly
Full Description

** DOCKERFILE **
FROM mono:4.6

ENV NUNIT_CONSOLE_VERSION=3.5.0

RUN apt-get update \
&& nuget install NUnit.Console -o /tmp/nunit -version $NUNIT_CONSOLE_VERSION \
&& mkdir /nunit \
&& cp /tmp/nunit/NUnit.ConsoleRunner.$NUNIT_CONSOLE_VERSION/tools/ /nunit \
&& apt-get clean \
&& rm -rf /tmp/ \
&& rm -rf /var/cache/ \
&& rm -rf /var/lib/apt/lists/

ENTRYPOINT ["mono", "/nunit/nunit3-console.exe"]

** USAGE **
docker run -v /yourshare/:/test --workdir /test renep/nunitconsole3 yourassembly.dll

Docker Pull Command
Owner
renep

Comments (0)