Remove */ol-7 if */debian-10 exists

This commit is contained in:
darteaga 2020-02-27 15:36:29 +00:00
parent a413439355
commit 317d3ce4b9
24 changed files with 0 additions and 476 deletions

View File

@ -1,20 +0,0 @@
FROM bitnami/python:2.7.17-ol-7-r130 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libselinux ncurses-libs nss-softokn-freebl openssl-libs pcre procps-ng readline sqlite sudo tar which zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/python /opt/bitnami/python
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="2.7.17-ol-7-r128-prod" \
PATH="/opt/bitnami/python/bin:$PATH"
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
version: '2'
services:
python:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/python:2-ol-7-prod'
ports:
- 8000:8000
volumes:
- .:/app

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,21 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl gcc gcc-c++ git glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libselinux libtool make ncurses-libs nss-softokn-freebl openssl-libs patch pcre pkgconfig procps-ng readline sqlite sudo tar unzip wget which zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-2.7.17-1-linux-x86_64-ol-7.tar.gz && \
echo "764d5a1d70462980aedd371c7062c517055dabcb386805cc7c7d208219633ad7 /tmp/bitnami/pkg/cache/python-2.7.17-1-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/python-2.7.17-1-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/python-2.7.17-1-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="2.7.17-ol-7-r130" \
PATH="/opt/bitnami/python/bin:$PATH"
EXPOSE 8000
WORKDIR /app
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
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

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,20 +0,0 @@
FROM bitnami/python:3.6.10-ol-7-r60 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libffi libselinux ncurses-libs nss-softokn-freebl openssl-libs pcre procps-ng readline sqlite sudo tar which xz-libs zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/python /opt/bitnami/python
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="3.6.10-ol-7-r64-prod" \
PATH="/opt/bitnami/python/bin:$PATH"
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
version: '2'
services:
python:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/python:3.6-ol-7-prod'
ports:
- 8000:8000
volumes:
- .:/app

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,21 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl gcc gcc-c++ git glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libffi libselinux libtool make ncurses-libs nss-softokn-freebl openssl-libs patch pcre pkgconfig procps-ng readline sqlite sudo tar unzip wget which xz-libs zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.6.10-0-linux-x86_64-ol-7.tar.gz && \
echo "5a8e49832c587612e6b4afa4dfe4708dc2153263ec594006eb7972c3352773b3 /tmp/bitnami/pkg/cache/python-3.6.10-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/python-3.6.10-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/python-3.6.10-0-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="3.6.10-ol-7-r61" \
PATH="/opt/bitnami/python/bin:$PATH"
EXPOSE 8000
WORKDIR /app
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
version: '2'
services:
python:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/python:3.6-ol-7'
ports:
- 8000:8000
volumes:
- .:/app

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,20 +0,0 @@
FROM bitnami/python:3.7.6-ol-7-r61 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libffi libselinux ncurses-libs nss-softokn-freebl openssl-libs pcre procps-ng readline sqlite sudo tar which xz-libs zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/python /opt/bitnami/python
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="3.7.6-ol-7-r61-prod" \
PATH="/opt/bitnami/python/bin:$PATH"
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
version: '2'
services:
python:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/python:3.7-ol-7-prod'
ports:
- 8000:8000
volumes:
- .:/app

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,21 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl gcc gcc-c++ git glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libffi libselinux libtool make ncurses-libs nss-softokn-freebl openssl-libs patch pcre pkgconfig procps-ng readline sqlite sudo tar unzip wget which xz-libs zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.7.6-0-linux-x86_64-ol-7.tar.gz && \
echo "c55f49e7af6fc6c2c10613088822b49a726d4908901f1630ba3536054b06f617 /tmp/bitnami/pkg/cache/python-3.7.6-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/python-3.7.6-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/python-3.7.6-0-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="3.7.6-ol-7-r61" \
PATH="/opt/bitnami/python/bin:$PATH"
EXPOSE 8000
WORKDIR /app
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
version: '2'
services:
python:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/python:3.7-ol-7'
ports:
- 8000:8000
volumes:
- .:/app

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,20 +0,0 @@
FROM bitnami/python:3.8.1-ol-7-r61 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libffi libselinux ncurses-libs nss-softokn-freebl openssl-libs pcre procps-ng readline sqlite sudo tar which xz-libs zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/python /opt/bitnami/python
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="3.8.1-ol-7-r65-prod" \
PATH="/opt/bitnami/python/bin:$PATH"
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
version: '2'
services:
python:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/python:3.8-ol-7-prod'
ports:
- 8000:8000
volumes:
- .:/app

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum

View File

@ -1,21 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages bzip2-libs ca-certificates curl gcc gcc-c++ git glibc gzip hostname keyutils-libs krb5-libs libaio-devel libcom_err libffi libselinux libtool make ncurses-libs nss-softokn-freebl openssl-libs patch pcre pkgconfig procps-ng readline sqlite sudo tar unzip wget which xz-libs zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.8.1-0-linux-x86_64-ol-7.tar.gz && \
echo "8e24f622c9d7a836f26088a34cdf198e6ce8a834d49f9990d4cd8f5479e7847e /tmp/bitnami/pkg/cache/python-3.8.1-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/python-3.8.1-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.1-0-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="python" \
BITNAMI_IMAGE_VERSION="3.8.1-ol-7-r61" \
PATH="/opt/bitnami/python/bin:$PATH"
EXPOSE 8000
WORKDIR /app
CMD [ "python" ]

View File

@ -1,10 +0,0 @@
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

View File

@ -1,29 +0,0 @@
#!/bin/sh
set -eu
if [[ -n "oracle-epel-release-el7" ]]; then
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
CODE=$?
if (( $CODE != 0 )); then
echo "EPEL repository installation failed"
exit $CODE
fi
fi
fi
max=2
for ((n = 1 ; n <= max ; n+=1 )); do
set +e
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
CODE=$?
set -e
if (( $CODE == 0 )); then
break
fi
if (( $n == $max )); then
exit $CODE
fi
echo "yum failed, retrying"
done
rm -r /var/cache/yum