mirror of
https://github.com/bitnami/containers.git
synced 2026-02-20 06:37:24 +08:00
2.7.15-ol-7-r0 release
Maintenance release
This commit is contained in:
17
bitnami/python/2/ol-7/Dockerfile
Normal file
17
bitnami/python/2/ol-7/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM bitnami/oraclelinux-extras:7-r5
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential bzip2-libs ca-certificates curl git glibc keyutils-libs krb5-libs libcom_err libselinux ncurses-libs nss-softokn-freebl openssl-libs pcre pkg-config readline sqlite unzip wget zlib
|
||||
RUN bitnami-pkg install python-2.7.15-1 --checksum b68b70cfe101ab13fc94c774c62915ed44207261b6a5ee091f0b504a1d73e945
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="python" \
|
||||
BITNAMI_IMAGE_VERSION="2.7.15-ol-7-r0" \
|
||||
PATH="/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["python"]
|
||||
10
bitnami/python/2/ol-7/docker-compose.yml
Normal file
10
bitnami/python/2/ol-7/docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
python:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: 'bitnami/python:2-ol-7'
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- .:/app
|
||||
10
bitnami/python/2/ol-7/rootfs/app-entrypoint.sh
Executable file
10
bitnami/python/2/ol-7/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
|
||||
|
||||
exec tini -- "$@"
|
||||
Reference in New Issue
Block a user