Skip to content
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

provide a canonical Docker image #530

Closed
1 of 8 tasks
tomkralidis opened this issue Jun 9, 2017 · 7 comments
Closed
1 of 8 tasks

provide a canonical Docker image #530

tomkralidis opened this issue Jun 9, 2017 · 7 comments
Assignees

Comments

@tomkralidis
Copy link
Member

Description

Provide a Docker setup in master which installs pycsw master with all dependencies. Publish/configure to https://hub.docker.com/r/geopython/pycsw/

Environment

  • operating system:
  • Python version:
  • pycsw version:
  • source/distribution
    • git clone
    • DebianGIS/UbuntuGIS
    • PyPI
    • zip/tar.gz
    • other (please specify):
  • web server
    • Apache/mod_wsgi
    • CGI
    • other (please specify):

Steps to Reproduce

Additional Information

@ricardogsilva
Copy link
Member

@tomkralidis
It seems that I cannot create an automated build on dockerhub, even if I am on pycsw's team. Perhaps you have to do it. Maybe I'll be able to tweak it once it is created?

Anyway, now that the PR is merged, when you have the time please create an automated build on dockerhub for pycsw. We could also do it together if you prefer

@tomkralidis
Copy link
Member Author

tomkralidis commented Oct 17, 2017

@ricardogsilva I deleted the project on Dockerhub and re-created via creating an automated build, which seems to have worked. I added team permissions again so you should have access to adjust build settings/etc.

@ricardogsilva
Copy link
Member

ricardogsilva commented Oct 17, 2017

@tomkralidis thanks for that.

I still cannot do anything on docker hub though (besides seeing the repository). Must have something to do with the way docker hub assigns permissions - they are probably based on the github's repo permissions.

It would be good to configure the automated builds to:

  • Build a new image with the latest tag whenever there is a push to master - This is probably already configured by dockerhub when the automated build was created
  • Build a new image whenever a new tag is pushed to pycsw's repo, which will make our releases automatically available as docker images - this must be configured by us (@tomkralidis). It is fairly easy too. Just go to Build Settings and add a new build setting of type Tag (the other fields can be left as blank). Don't forget to save it afterwards ;)

@tomkralidis
Copy link
Member Author

@ricardogsilva mea culpa. Try again?

@ricardogsilva
Copy link
Member

@tomkralidis yes, I have access now. I've configured the build settings as described above. I'll proceed to add some docs on docker usage (I'll submit a PR with that) and after that we may close this issue

This was referenced Oct 30, 2017
@tomkralidis
Copy link
Member Author

@ricardogsilva / @kalxas are we good to close this one?

@kalxas
Copy link
Member

kalxas commented Nov 25, 2017

+1 to close

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

No branches or pull requests

3 participants