bitnami-containers/bitnami/tensorflow-resnet/2/ol-7/Dockerfile

27 lines
885 B
Docker

FROM oraclelinux:7-slim
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
HOME="/" \
PATH="/opt/bitnami/tensorflow-resnet/bin:/opt/bitnami/nami/bin:$PATH"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl glibc gzip hostname libaio-devel libgcc libstdc++ procps-ng sudo tar which
RUN /build/bitnami-user.sh && \
/build/install-nami.sh
RUN bitnami-pkg unpack tensorflow-resnet-2.1.0-0 --checksum 41bcfb1f1ef6837a7837aeb2a2a9f5167052370b72c83f3ecba2e6e1495e9585
RUN yum upgrade -y && \
rm -r /var/cache/yum
RUN /build/install-gosu.sh
RUN /build/install-tini.sh
COPY rootfs /
ENV BITNAMI_APP_NAME="tensorflow-resnet" \
BITNAMI_IMAGE_VERSION="2.1.0-ol-7-r20" \
NAMI_PREFIX="/.nami"
USER 1001
ENTRYPOINT [ "/app-entrypoint.sh" ]
CMD [ "tail", "-f", "/dev/null" ]