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

This commit is contained in:
darteaga
2020-02-27 15:33:34 +00:00
parent 3bf2a30ca3
commit de05faf0df
18 changed files with 0 additions and 360 deletions

View File

@@ -1,21 +0,0 @@
FROM bitnami/java:1.8.242-ol-7-r26 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel libgcc procps-ng sudo tar which zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/java /opt/bitnami/java
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="1.8.242-ol-7-r27-prod" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:$PATH"
CMD [ "bash" ]

View File

@@ -1,11 +0,0 @@
version: '2'
services:
java:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/java:1.8-ol-7-prod'
command: ["tail", "-f", "/dev/null"] # To keep the container running
ports:
- 8080:8080
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,19 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel libgcc procps-ng sudo tar wget which zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/java-1.8.242-0-linux-x86_64-ol-7.tar.gz && \
echo "974f750091ac1bf18cc1ce9472ef5ed7c1b328a2c17471cb9ac810fcded67151 /tmp/bitnami/pkg/cache/java-1.8.242-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/java-1.8.242-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/java-1.8.242-0-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="1.8.242-ol-7-r26" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:$PATH"
CMD [ "bash" ]

View File

@@ -1,11 +0,0 @@
version: '2'
services:
java:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/java:1.8-ol-7'
command: ["tail", "-f", "/dev/null"] # To keep the container running
ports:
- 8080:8080
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 bitnami/java:11.0.6-ol-7-r28 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel procps-ng sudo tar which zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/java /opt/bitnami/java
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="11.0.6-ol-7-r28-prod" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:$PATH"
CMD [ "bash" ]

View File

@@ -1,11 +0,0 @@
version: '2'
services:
java:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/java:11-ol-7-prod'
command: ["tail", "-f", "/dev/null"] # To keep the container running
ports:
- 8080:8080
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,19 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel procps-ng sudo tar wget which zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/java-11.0.6-0-linux-x86_64-ol-7.tar.gz && \
echo "44f5ec63dbe8d2ea9aaea237cec2d8821ac3ee6fa2812c295c0fa04068d0e08e /tmp/bitnami/pkg/cache/java-11.0.6-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/java-11.0.6-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/java-11.0.6-0-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="11.0.6-ol-7-r28" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:$PATH"
CMD [ "bash" ]

View File

@@ -1,11 +0,0 @@
version: '2'
services:
java:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/java:11-ol-7'
command: ["tail", "-f", "/dev/null"] # To keep the container running
ports:
- 8080:8080
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 bitnami/java:13.0.2-ol-7-r28 as development
######
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel procps-ng sudo tar which zlib
RUN yum upgrade -y && \
rm -r /var/cache/yum
COPY --from=development /opt/bitnami/java /opt/bitnami/java
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="13.0.2-ol-7-r28-prod" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:$PATH"
CMD [ "bash" ]

View File

@@ -1,11 +0,0 @@
version: '2'
services:
java:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/java:13-ol-7-prod'
command: ["tail", "-f", "/dev/null"] # To keep the container running
ports:
- 8080:8080
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,19 +0,0 @@
FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel procps-ng sudo tar wget which zlib
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/java-13.0.2-0-linux-x86_64-ol-7.tar.gz && \
echo "99c6fd17b09a7d14a7321a6d8c7f1e4423da8bea661811a3dc7a103ce258cc50 /tmp/bitnami/pkg/cache/java-13.0.2-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/java-13.0.2-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/java-13.0.2-0-linux-x86_64-ol-7.tar.gz
RUN yum upgrade -y && \
rm -r /var/cache/yum
ENV BITNAMI_APP_NAME="java" \
BITNAMI_IMAGE_VERSION="13.0.2-ol-7-r28" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:$PATH"
CMD [ "bash" ]

View File

@@ -1,11 +0,0 @@
version: '2'
services:
java:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/java:13-ol-7'
command: ["tail", "-f", "/dev/null"] # To keep the container running
ports:
- 8080:8080
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