Skip to content

Dockerfile#6

Open
jangaraj wants to merge 2 commits intosausheong:masterfrom
jangaraj:master
Open

Dockerfile#6
jangaraj wants to merge 2 commits intosausheong:masterfrom
jangaraj:master

Conversation

@jangaraj
Copy link

@jangaraj jangaraj commented Feb 3, 2018

Dockerfile for those, who like golang builds in the Docker container. It produces minimalistic Docker image (2.22MB).
Docker build: docker build -t invaders .
Unfortunately, it doesn't work in my Putty, so I was not able to test it in my console.
Public Docker image for testing: docker run --rm -ti jangaraj/invaders

@vosmith
Copy link

vosmith commented Feb 3, 2018

Hey @jangaraj I pulled your branch to try your docker file against my pixterm PR. The only change I had to make was adding a WORKDIR / somehere after FROM scratch. This ensures that you are running invaders from the same directory that the imgs/ are, which is necessary for now.

@jangaraj
Copy link
Author

jangaraj commented Feb 3, 2018

@vosmith thx, fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants