-
Notifications
You must be signed in to change notification settings - Fork 58
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
nightly build producing a latest image resource #51
Comments
Great idea, IMHO. Though the problem is, we currently download and verify the release ZIPs and of course for nightly releases, it would be required to git clone the master instead… See: docker-nginx-fpm-alpine/Dockerfile Line 27 in 8fe3ab9
|
I will make a PR. |
Awesome thanks! Please just keep the current behavior for stable releases and adjust it only for Nightly ones. |
IMO there are several misunderstandings with this request:
|
I was clearly unaware of the intention of the |
Maybe name it But maybe we should indeed go one step back, because @mvanholsteijn what exactly was your use case for having a nightly Docker image of PrivateBin? You said:
So what exactly do you want to test? |
@rugk, I wanted to test whether the official CI/CD pipeline of docker-nginx-fpm-alpine actually delivered a working version of PrivateBin.
The Dockerfile now allows you to build a PrivateBin image from any branch. If you specify a semver it will build from release. For me that is good enough, as I can now build and test the combined changes locally. I have no explicit need for a tagged binary image in docker hub. The confusion is about the intended meaning of |
I do often have the same use case during ongoing development on a branch or such and I just use the nightly image and mount the checked out repo as a read-only volume into the container as
This does circumvent the hardening of separating the paths that we do in the included application for production use, but it will work for local development and even any custom conf.php settings you may have in the checked out repository, i.e. for testing GCS or other non-default features. |
That use case works if you run locally; When you run the container in a remote cluster it is more difficult. |
The current dockerfile setup, always produces an image based on the 1.3.5 release (or at least the release defined by the RELEASE env var). It would be nice if the nightly release would be made of the latest master, so that I can test the changes.
The text was updated successfully, but these errors were encountered: