mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 14:08:07 +08:00
3.8.0-ol-7-r0 release
This commit is contained in:
18
bitnami/python/3.8/ol-7/Dockerfile
Normal file
18
bitnami/python/3.8/ol-7/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM bitnami/oraclelinux-runtimes:7-r469
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages bzip2-libs ca-certificates curl gcc gcc-c++ git glibc keyutils-libs krb5-libs libcom_err libffi libselinux libtool make ncurses-libs nss-softokn-freebl openssl-libs patch pcre pkgconfig readline sqlite unzip wget xz-libs zlib
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.8.0-0-linux-x86_64-ol-7.tar.gz && \
|
||||
echo "583f5827ed5f98aae209fc49db33b2d522e7d29d7a236caaa368fd84c9e83b5f /tmp/bitnami/pkg/cache/python-3.8.0-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-3.8.0-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-3.8.0-0-linux-x86_64-ol-7.tar.gz
|
||||
|
||||
ENV BITNAMI_APP_NAME="python" \
|
||||
BITNAMI_IMAGE_VERSION="3.8.0-ol-7-r0" \
|
||||
PATH="/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /app
|
||||
CMD [ "python" ]
|
||||
10
bitnami/python/3.8/ol-7/docker-compose.yml
Normal file
10
bitnami/python/3.8/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:3.8-ol-7'
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- .:/app
|
||||
Reference in New Issue
Block a user