20 lines
1015 B
Docker
20 lines
1015 B
Docker
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 libstdc++ procps-ng sudo tar wget which
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jsonnet-0.14.0-0-linux-x86_64-ol-7.tar.gz && \
|
|
echo "141b70c4888d375cd9dd50ebe03bf6b8f1d32cc6cf7601dd2e1780c2d4ed36e9 /tmp/bitnami/pkg/cache/jsonnet-0.14.0-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/jsonnet-0.14.0-0-linux-x86_64-ol-7.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/jsonnet-0.14.0-0-linux-x86_64-ol-7.tar.gz
|
|
|
|
RUN chmod +x /opt/bitnami/jsonnet/bin/jsonnet
|
|
ENV BITNAMI_APP_NAME="jsonnet" \
|
|
BITNAMI_IMAGE_VERSION="0.14.0-ol-7-r78" \
|
|
PATH="/opt/bitnami/jsonnet/bin:$PATH"
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "jsonnet" ]
|
|
CMD [ "--help" ]
|