0.15.0-ol-7-r0 release
This commit is contained in:
parent
4bead846a1
commit
c821141185
|
|
@ -0,0 +1,21 @@
|
|||
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.15.0-0-linux-x86_64-ol-7.tar.gz && \
|
||||
echo "84d3303a0a0fe17ffb2ecbfda260ff8e29d19ad230ce62a67a804f4793ad3d33 /tmp/bitnami/pkg/cache/jsonnet-0.15.0-0-linux-x86_64-ol-7.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/jsonnet-0.15.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.15.0-0-linux-x86_64-ol-7.tar.gz
|
||||
RUN yum upgrade -y && \
|
||||
rm -r /var/cache/yum
|
||||
|
||||
RUN chmod +x /opt/bitnami/jsonnet/bin/jsonnet
|
||||
ENV BITNAMI_APP_NAME="jsonnet" \
|
||||
BITNAMI_IMAGE_VERSION="0.15.0-ol-7-r0" \
|
||||
PATH="/opt/bitnami/jsonnet/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "jsonnet" ]
|
||||
CMD [ "--help" ]
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
jsonnet:
|
||||
image: bitnami/jsonnet:0.15-ol-7
|
||||
volumes:
|
||||
- jsonnet_data:/bitnami
|
||||
volumes:
|
||||
jsonnet_data:
|
||||
driver: local
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if [[ -n "oracle-epel-release-el7" ]]; then
|
||||
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
|
||||
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
|
||||
CODE=$?
|
||||
if (( $CODE != 0 )); then
|
||||
echo "EPEL repository installation failed"
|
||||
exit $CODE
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
max=2
|
||||
for ((n = 1 ; n <= max ; n+=1 )); do
|
||||
set +e
|
||||
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
|
||||
CODE=$?
|
||||
set -e
|
||||
if (( $CODE == 0 )); then
|
||||
break
|
||||
fi
|
||||
if (( $n == $max )); then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "yum failed, retrying"
|
||||
done
|
||||
rm -r /var/cache/yum
|
||||
|
|
@ -26,8 +26,8 @@ $ docker run --name jsonnet bitnami/jsonnet:latest
|
|||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`0.14-ol-7`, `0.14.0-ol-7-r141` (0.14/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-jsonnet/blob/0.14.0-ol-7-r141/0.14/ol-7/Dockerfile)
|
||||
* [`0.14-debian-10`, `0.14.0-debian-10-r21`, `0.14`, `0.14.0`, `latest` (0.14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jsonnet/blob/0.14.0-debian-10-r21/0.14/debian-10/Dockerfile)
|
||||
* [`0.15-ol-7`, `0.15.0-ol-7-r0` (0.15/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-jsonnet/blob/0.15.0-ol-7-r0/0.15/ol-7/Dockerfile)
|
||||
* [`0.15-debian-10`, `0.15.0-debian-10-r0`, `0.15`, `0.15.0`, `latest` (0.15/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jsonnet/blob/0.15.0-debian-10-r0/0.15/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/jsonnet GitHub repo](https://github.com/bitnami/bitnami-docker-jsonnet).
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ $ docker pull bitnami/jsonnet:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```bash
|
||||
$ docker build -t bitnami/jsonnet:latest 'https://github.com/bitnami/bitnami-docker-jsonnet.git#master:0.14/debian-10'
|
||||
$ docker build -t bitnami/jsonnet:latest 'https://github.com/bitnami/bitnami-docker-jsonnet.git#master:0.15/debian-10'
|
||||
```
|
||||
|
||||
# Configuration
|
||||
|
|
|
|||
Loading…
Reference in New Issue