Sign inSign up

sec4you/dr-strange

By sec4you

•Updated almost 7 years ago

Dr-strange is a container to make easy the process to build python script's as .exe

Image
0

962

sec4you/dr-strange repository overview

⁠dr-strange

CircleCI

Dr-strange is a container to make easy the process to build python script's as .exe, to run in Windows System Operation's. Dr-Strange is a cross-compiler.

Created by:

Contributors:

⁠How to use?

It's simple and quickly you can the compilie. In this is example a simple script to ilustrate the process:

  1. Create a python script called heloworld.py
print("This line will be printed.")
  1. Dr-strange change our reality, make the heloworld.py to run on Windows!
$ export fileToCompile=heloworld.py
$ docker run -e fileToCompile-v $(pwd)/$fileToCompile:/root/$fileToCompile -v $(pwd)/dist:/root/dist -ti sec4you/drstrange './entrypoint.sh'
  1. Test the executable heloword.exe
$ run -e fileToCompile -v $(pwd)/$fileToCompile:/root/$fileToCompile -v $(pwd)/dist:/root/dist -ti sec4you/drstrange bash -c 'wine /root/dist/heloworld.exe'
This line will be printed.

Tag summary

Content type

Image

Digest

Size

419.5 MB

Last updated

almost 7 years ago

docker pull sec4you/dr-strange