Added Dockerfile for required build environment #20
+112
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello everyone! I experienced some considerable difficulties setting up the build environment correctly. Given that the same issue puzzles others as well as referenced by #15 #18 #19, I created a Dockerfile that creates a container (virtual machine) with full build environment (including IDEA) required to run the "Hello World" example.
How to use it?
this last line will start downloading packages and building the container for you. (Note: it will download several GBs)
Once Docker is done creating the image you can run by typing the following commands on the host:
then you get connected to the container and inside the container you can type:
to start IDEA. Xserver connection is set up so that you can run IntelliJ IDEA from inside the container.
The container will have:
hello-scaloid-sbt
projectadb
: you can just connect your phone to the host machine and your phone will be fully accessible inside the container.hello-scaloid-sbt
project after downloading for your convenience (no compile errors).Any comments are welcome!