Python image for selenium tests.
1.5K
2.1.0, 2.1.0-3.14.3, latest2.0.0, 2.0.0-3.14.31.9.0, 1.9.0-3.13.51.8.0, 1.8.0-3.13.51.7.0, 1.7.0-3.12.41.6.0, 1.6.0-3.12.41.5.0, 1.5.0-3.12.21.4.0, 1.4.0-3.12.21.3.0, 1.3.0-3.12.21.2.0, 1.2.0-3.11.01.1.0, 1.1.0-3.10.01.0.1, 1.0.1-3.9.71.0.0, 1.0.0-3.9.2These are docker images for the current python (python 3) and a python for selenium tests.
The images have the names ekleinod/python and ekleinod/python-selenium.
The image ekleinod/python is based on the official python-alpine image.
The image ekleinod/python-selenium is based on ekleinod/python.
The images are mainly for my projects, thus the dependencies of these projects are added to python via pip. This approach is easier than customizing several python images.
The additional libraries of ekleinod/python are:
The additional libraries of ekleinod/python-selenium are:
For the complete changelog, see changelog.md
You can use the images as follows:
docker run --rm --interactive --tty --name <containername> --user "$(id -u):$(id -g)" --volume "${PWD}":/usr/src/myapp ekleinod/python <python script>
docker run --rm --interactive --tty --name <containername> --user "$(id -u):$(id -g)" --volume "${PWD}":/usr/src/myapp ekleinod/python-selenium <python script>
Please note, that /usr/src/myapp is the work directory of the image.
For a simple test showing the python help page, run
$ docker run --rm --name python ekleinod/python
You can see examples at work in the test folder. Clone the repository or download the folder. Call them as follows:
$ cd test
$ ./test_help.sh
$ ./test_hello-world.sh
$ ./test_version.sh
The latest release will always be available with:
ekleinod/python:latestekleinod/python-selenium:latestThere are two naming schemes:
ekleinod/python:<internal>-<python>
Example: ekleinod/python:1.0.0-3.9.2
internal version number ekleinod/python:<major>.<minor>.<patch>
Example: ekleinod/python:1.0.0
In order to build the images locally, clone the repository and call
$ cd images
$ ./build_images.sh
The branching model regards to the stable mainline model described in https://www.bitsnbites.eu/a-stable-mainline-branching-model-for-git/.
This means, there is always a stable mainline, the main branch. This branch ist always compileable and testable, both without errors.
Features are developed using feature branches. Special feature branches are used (different from the mainline model) for finalizing releases.
Releases are created as branches of the mainline.
Additionally, each release is tagged, tags contain the patch and, if needed, additional identifiers, such as rc1 or beta.
Patches are made in the according release branch. Minor version changes get their own release branch.
Copyright 2021-2026 Ekkart Kleinod [email protected]
The program is distributed under the terms of the GNU General Public License, either version 3 of the License, or any later version.
See COPYING for details.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Content type
Image
Digest
sha256:1e3e23a1f…
Size
337.2 MB
Last updated
7 months ago
docker pull ekleinod/python-selenium