summaryrefslogtreecommitdiff
path: root/Dockerfile
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Python 3.6, 3.7likui2022-07-041-2/+2
| | | | | | | | | | | Python 3.6 and Python 3.7 support has been dropped since Zed [1]. This necessitates changes our jobs to build and publish docker images since those currently use Python 3.6. We now use Python 3.9. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: I228b7ff6691a025f1ba9b7d9449f294868942151 Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
* Add a command to trigger entrypoint cache creationMonty Taylor2020-07-061-0/+3
| | | | | | | | | stevedore will cache the entrypoint scan when needed. Since we just installed the things here, do an openstack --help to cause the entrypoints to get scanned at build time and for the cache file to be written into the container image. Change-Id: I73502be6d68c4a38561c9524b4def3c6a6f61ac6
* Be explicit about python version in imageMonty Taylor2020-03-261-2/+2
| | | | | | | | python-base has versions available now, defaulting to 3.7. Update our config to 3.7 to be explicit about what we're using. This will let us update the version as we feel like. Change-Id: I40ffde91808a8bb95479697b9127dba16de8a8cd
* Build utility image for using oscMonty Taylor2020-03-141-0/+26
python-openstackclient currently has a non-zero number of dependencies, so for admins who would like to run it on laptops or similar it can get tricky. In opendev, for instance, admins have it installed into a venv on a jump host, but it's really wonky to keep up with. Use the opendev/python-builder opendev/python-base pair to make a minimal image that contains an install of python-openstackclient and publish it to the osclient org on dockerhub. There is an overall policy against having binary artifacts such as this appear to be official deliverables of the OpenStack project, which this is not. It's also only publishing images based on master, so no warranties should be implied. But if this makes life easier for a user somewhere, cool. Change-Id: I9a8bfc27c127e92b6856cb6a3e45b32c818db16c