-
Notifications
You must be signed in to change notification settings - Fork 39
Docker
Docker is an application to sandboxing of services and applications. By using this docker image you will avoid installing the mono runtime, build-essential, cmake and other software. You will onlu need to install docker on your Linux/Mac computer.
Take a look at https://docs.docker.com/installation/
docker pull gerardsoleca/alter-native
Remember that in some cases instead of being docker can be named as docker.io
Now we will proceed to use this image has a container instance, in fact, we will use the container as the AlterNative itself.
run
docker run -v /executables:/executables -t -i gerardsoleca/alternative <BINARYNAME>
The -v argument is to mount and share a volume from the host to the container. In this case you can change the first /executables pointing to the folder where your C# assemblies live, but the second part must remain intact. Then the <BINARYNAME> is where you must put the assembly name to be translated. This assembly must be in the folder that you previously shared to the container.
After running this command, in the shared folder you will find the generated source-code and the compiled binary.