bitnami-containers/bitnami/java/11-prod/ol-7/Dockerfile

22 lines
593 B
Docker

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" ]