mirror of
https://github.com/maxkratz/docker_python-custom.git
synced 2024-05-18 12:01:42 +00:00
Added Dockerfile, doc, package list and CI config.
This commit is contained in:
parent
0b728b550c
commit
864d2bc119
16
.drone.yml
Normal file
16
.drone.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: maxkratz/python-custom
|
||||
tags: 3.6
|
||||
username:
|
||||
from_secret: dockerhub_username
|
||||
password:
|
||||
from_secret: dockerhub_password
|
||||
when:
|
||||
branch:
|
||||
- master
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Use python 3.6
|
||||
FROM python:3.6
|
||||
LABEL maintainer="Max Kratz <account@maxkratz.com>"
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Update various packages
|
||||
RUN apt-get update -q && \
|
||||
apt-get upgrade -yq
|
||||
|
||||
# Install all requirements from file
|
||||
COPY requirements.txt /
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD ["python3"]
|
20
README.md
20
README.md
|
@ -1 +1,19 @@
|
|||
docker_python-custom
|
||||
# docker_python-custom
|
||||
|
||||
[![Build Status](https://github.ci.maxkratz.com/api/badges/maxkratz/docker_python-custom/status.svg?ref=refs/heads/main)](https://github.ci.maxkratz.com/maxkratz/docker_python-custom)
|
||||
|
||||
*Unofficial* custom python Docker image for faster CI jobs of other projects of mine.
|
||||
Prebuild images can be found at [Dockerhub](https://hub.docker.com/r/maxkratz/python-custom).
|
||||
|
||||
## Dockerfile
|
||||
|
||||
The Dockerfile can be found at:
|
||||
[https://github.com/maxkratz/docker_python-custom/blob/main/Dockerfile](https://github.com/maxkratz/docker_python-custom/blob/main/Dockerfile)
|
||||
|
||||
|
||||
## What gets installed in this container?
|
||||
You can find a list of all installed packages (and versions) in [requirements.txt](requirements.txt).
|
||||
|
||||
|
||||
## Issues & Contribution
|
||||
If you find any problems, bugs or missing packages, feel free to open an [issue on github](https://github.com/maxkratz/docker_python-custom/issues).
|
||||
|
|
9
requirements.txt
Normal file
9
requirements.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
pylint>=2.6.0
|
||||
pylint-fail-under>=0.3.0
|
||||
attr>=0.3.1
|
||||
attrs>=19.3.0
|
||||
psycopg2>=2.8.6
|
||||
pysaml2>=6.3.0
|
||||
PyYAML>=5.3
|
||||
setuptools
|
||||
wheel
|
Loading…
Reference in a new issue