Current versions available:
.
├── 3
│ ├── openjdk
│ │ └── Dockerfile
│ ├── tox
│ │ └── Dockerfile
│ └── vanilla
│ └── Dockerfile
Images can be found on https://hub.docker.com/r/philipssoftware/python/.
docker run philipssoftware/python:latest python --version
docker run philipssoftware/python:buster python --version
The images obviously contains Python, but also two other files:
REPO
TAGS
This file has a url to the REPO with specific commit-sha of the build. Example:
$ docker run philipssoftware/python:buster cat REPO
https://github.com/philips-software/docker-python/tree/bbb5945481e1579c87293d16bbf5cd654f3da158
$ docker run philipssoftware/python:tox cat REPO
https://github.com/philips-software/docker-python/tree/eb0c55137fd741d5526de9e7ef5d15f69a9d5a56
This contains all the similar tags at the point of creation.
$ docker run philipssoftware/python cat TAGS
python:buster python:latest
$ docker run philipssoftware/python:tox cat TAGS
python:tox python:tox-3 python:tox-3.20 python:tox-3.20.1
You can use this to pin down a version of the container from an existing development build for production. When using python:buster
for development. This ensures that you've got all security updates in your build. If you want to pin the version of your image down for production, you can use this file inside of the container to look for the most specific tag, the last one.
Why do we have our own docker image definitions?
We often need some tools in a container for checking some things. F.e. jq, aws-cli and curl. We can install this every time we need a container, but having this baked into a container seems a better approach.
That's why we want our own docker file definitions.
- If you have an issue: report it on the issue tracker
- Jeroen Knoops jeroen.knoops@philips.com
License is MIT. See LICENSE file
This module is part of the Philips Forest.
___ _
/ __\__ _ __ ___ ___| |_
/ _\/ _ \| '__/ _ \/ __| __|
/ / | (_) | | | __/\__ \ |_
\/ \___/|_| \___||___/\__|
Infrastructure
Talk to the forestkeepers in the docker-images
-channel on Slack.