22 lines
1.0 KiB
Docker
22 lines
1.0 KiB
Docker
FROM registry.rhc4tp.openshift.com/bitnami/rhel-extras-7:latest
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages ca-certificates glibc libgcc libstdc++ wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jsonnet-0.12.1-0-linux-x86_64-rhel-7.tar.gz && \
|
|
echo "f25403f5e5d821f70841d2c90a45593e627883e225a87f8efbc3d80f91d8ff04 /tmp/bitnami/pkg/cache/jsonnet-0.12.1-0-linux-x86_64-rhel-7.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/jsonnet-0.12.1-0-linux-x86_64-rhel-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/jsonnet-0.12.1-0-linux-x86_64-rhel-7.tar.gz
|
|
|
|
RUN chmod +x /opt/bitnami/jsonnet/bin/jsonnet
|
|
ENV BITNAMI_APP_NAME="jsonnet" \
|
|
BITNAMI_IMAGE_VERSION="0.12.1-rhel-7-r11" \
|
|
BITNAMI_PKG_CHMOD="-R g+rwX" \
|
|
HOME="/" \
|
|
NAMI_PREFIX="/.nami" \
|
|
PATH="/opt/bitnami/jsonnet/bin:$PATH"
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "jsonnet" ]
|
|
CMD [ "--help" ]
|