mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 14:58:20 +08:00
27 lines
904 B
Docker
27 lines
904 B
Docker
FROM oraclelinux:7-slim
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="x86_64" \
|
|
OS_FLAVOUR="ol-7" \
|
|
OS_NAME="linux"
|
|
|
|
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 . ./libcomponent.sh && component_unpack "logstash" "7.4.2-0" --checksum 18116ea58e294ed3e16585bdd619c3e322ba11de97164ef834d5baeeef9c4d8f
|
|
RUN . ./libcomponent.sh && component_unpack "java" "1.8.232-0" --checksum fbac74363c807fce14538c5f9a9232602adc7883c1c5936571c741625de2479e
|
|
|
|
COPY rootfs /
|
|
RUN /postunpack.sh
|
|
ENV BITNAMI_APP_NAME="logstash" \
|
|
BITNAMI_IMAGE_VERSION="7.4.2-ol-7-r19" \
|
|
PATH="/opt/bitnami/logstash/bin:/opt/bitnami/java/bin:$PATH"
|
|
|
|
EXPOSE 8080
|
|
|
|
WORKDIR /opt/bitnami/logstash
|
|
USER 1001
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
CMD [ "/run.sh" ]
|