https://github.com/evryfs/base-python
https://github.com/evryfs/base-python
docker docker-image
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/evryfs/base-python
- Owner: evryfs
- Created: 2019-10-07T09:37:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T07:26:28.000Z (about 1 year ago)
- Last Synced: 2025-06-18T23:40:46.636Z (about 1 year ago)
- Topics: docker, docker-image
- Language: Dockerfile
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# EVRY FS python base image
[](https://quay.io/repository/evryfs/base-python)
This is the base image for running plain python applications. For WSGI or
ASGI web applications, use the other base images that are based on this.
## Usage
Just add your sauce to /app and proceed as befitting your platform.
### Defaults
Attribute | Value
--------- | -------
user | appuser
UID | 1001
GID | 100
cwd | /app
### Creating a Dockerfile
To utilize this image to create a container for your application, create a new
Dockerfile and extend this image. Then add your python sauce to the container
and supply your own startup script. Check the [building containers](https://wiki.finods.com/display/architecture/Building+containers)
guide for information about the required labels.
```dockerfile
FROM quay.io/evryfs/base-python:3.8.0
ARG BUILD_DATE
ARG BUILD_URL
ARG GIT_URL
ARG GIT_COMMIT
LABEL maintainer="Your Name "
com.finods.ccm.system=""
com.finods.ccm.group=""
org.opencontainers.image.title=""
org.opencontainers.image.created=$BUILD_DATE
org.opencontainers.image.authors=""
org.opencontainers.image.url=$BUILD_URL
org.opencontainers.image.documentation=""
org.opencontainers.image.source=$GIT_URL
org.opencontainers.image.version=""
org.opencontainers.image.revision=$GIT_COMMIT
org.opencontainers.image.vendor="EVRY Financial Services"
org.opencontainers.image.licenses="proprietary-license"
org.opencontainers.image.description=""
COPY build/ .
CMD "/app/your_startup_script.sh"
```