-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docker] Development Dockerfile for ponzu #115
Conversation
@krismeister - what is meant by:
Sorry - I'm a pretty basic Docker user. |
In this Dockerfile, we're using the official golang docker image hosted on Dockerhub, a free for open source repository of Docker Images. Ponzu will want to publish it's own Docker Image onto DockerHub. We'll want to link to the page on Dockerhub for ponzu The steps for this are:
(Steps 1-5 above can be automated by a github hook, with tools such as CircleCi, CodeShip, jenkins, teamcity etc..) Developers who want to use the Ponzu Docker Image. Will base their Dockerfile on Ponzu. Their build will inject their own files into the When they run their Docker Image on their server, their container has ALL their project files. Which is why we need to use the Docker Volume correctly for any files/folders which need to persist between deployments on their server. |
So once the user who has the official Ponzu Docker image pulled, they would run it, and from inside the container build their own project (which they either git pulled or copied in) At that point they can then re-build the Ponzu image with their files in it or write a new Dockerfile to manage those steps to deploy? |
@krismeister - this is awesome, thank you for putting it together! Sorry to trouble you, but would you mind splitting these PRs... the I think the |
No problem. You'll want to setup this on dockerhub: https://docs.docker.com/docker-hub/builds/#create-an-automated-build And then replace all the NEEDS LINKS. |
Hey @krismeister - sorry to bother you with this, but I don't know why the Step 8/8 : RUN go get $PONZU_GITHUB...
---> Running in 528e824f1813
# github.com/ponzu-cms/ponzu/system/api
system/api/gzip.go:40: undefined: http.Pusher
The command '/bin/sh -c go get $PONZU_GITHUB...' returned a non-zero code: 2 The Do you know what might be happening? |
@krismeister - upon adding |
This is a development docker file for #72 .