Add files needed to build and run application with Docker#29
Open
joshdavidson wants to merge 5 commits intojeyoder:masterfrom
joshdavidson:master
Open
Add files needed to build and run application with Docker#29joshdavidson wants to merge 5 commits intojeyoder:masterfrom joshdavidson:master
joshdavidson wants to merge 5 commits intojeyoder:masterfrom
joshdavidson:master
Conversation
This will allow building a Docker image to run the app in. To build, run the following command: docker build -t things-in-space:latest --force-rm . After building the image, the command to run the Docker container is: docker run -d --name ThingsInSpace --restart unless-stopped -p 8080:80 things-in-space
Adding start.sh file that is utilized by Docker image
Now it shows short historical description of selected object taken from NASA Space Science Data Coordinated Archive (provided that entry exists) with direct link to the entry for additional information.
This vertex attribute was used without being enabled. On almost every platform, it so happened that the attributes here were being assigned integer values that made the app work correctly. However, this vertex attribute was actually relying on a vertex attrbute enabled for one of the other draw calls. In Chrome on Mac, the vertex attributes for the picking shader are 2,0,1 (or something like that), while they are 2,1,0 on Firefox. This seems like it's probably a property of the GL driver; maybe Firefox works around it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adding a Dockerfile and start.sh script that can be used to buiild a Docker image and run the application as a Docker container.
To build the Docker image, run the following command: docker build -t things-in-space:latest --force-rm .
To run the Docker container: docker run -d --name ThingsInSpace --restart unless-stopped -p 8080:80 things-in-space