UNCLASSIFIED

Commit 52e6ddd0 authored by Scott Stroud's avatar Scott Stroud
Browse files

jsonnet fun

parent e1e25a14
Pipeline #429899 failed with stages
in 18 minutes and 16 seconds
...@@ -27,13 +27,16 @@ USER root ...@@ -27,13 +27,16 @@ USER root
######################################## ########################################
## Install Python ## Install Python
RUN dnf update -y && dnf install -y python38.x86_64 python38-pip-wheel.noarch openssl tar procps iputils hostname \ RUN dnf update -y --nodocs && dnf install -y --nodocs python38.x86_64 python38-pip-wheel.noarch openssl tar procps iputils hostname make gcc-c++ python3-devel libffi-devel \
&& pip3 install --upgrade pip \
&& ln -s /usr/bin/python3 /usr/bin/python \ && ln -s /usr/bin/python3 /usr/bin/python \
&& ln -s /usr/bin/pip3 /usr/bin/pip \ && ln -s /usr/bin/pip3 /usr/bin/pip \
&& alias python=python3 \ && alias python=python3 \
&& alias pip=pip3 \
&& alternatives --set python /usr/bin/python3 \ && alternatives --set python /usr/bin/python3 \
&& dnf clean all \ && dnf clean all \
&& rm -rf /var/cache/dnf && rm -rf /var/cache/dnf
## Python Installed ## Python Installed
######################################## ########################################
...@@ -46,7 +49,8 @@ COPY confluent_docker_utils-0.0.44-py3-none-any.whl /tmp/confluent_docker_utils- ...@@ -46,7 +49,8 @@ COPY confluent_docker_utils-0.0.44-py3-none-any.whl /tmp/confluent_docker_utils-
COPY *.whl /tmp/python-dependencies/ COPY *.whl /tmp/python-dependencies/
COPY *.gz /tmp/python-dependencies/ COPY *.gz /tmp/python-dependencies/
RUN pip3 install --no-index --prefix=/usr/local --upgrade --find-links /tmp/python-dependencies/ /tmp/confluent_docker_utils-0.0.44-py3-none-any.whl RUN pip3 install --prefix=/usr/local --upgrade --find-links /tmp/python-dependencies/ /tmp/confluent_docker_utils-0.0.44-py3-none-any.whl jsonnet \
&& pip3 install jsonnet requests
## dub installed ## dub installed
######################################## ########################################
...@@ -63,10 +67,10 @@ WORKDIR /opt/ ...@@ -63,10 +67,10 @@ WORKDIR /opt/
ENV CONFIG_DIR=/mnt/config ENV CONFIG_DIR=/mnt/config
ENV CUB_CLASSPATH='"/usr/share/java/cp-base-new/*"' ENV CUB_CLASSPATH='"/usr/share/java/cp-base-new/*"'
COPY scripts/licenses /licenses COPY scripts/licenses /licenses
# COPY jsonnet /usr/local/bin/jsonnet COPY jsonnet /usr/local/bin/jsonnet
COPY scripts/ /opt COPY scripts/ /opt
RUN chmod -R ag+wx "/opt" RUN chmod -R ag+wx "/opt" /usr/local/bin/jsonnet
ENTRYPOINT ["/opt/startup.sh"] ENTRYPOINT ["/opt/startup.sh"]
......
...@@ -223,6 +223,11 @@ resources: ...@@ -223,6 +223,11 @@ resources:
validation: validation:
type: sha256 type: sha256
value: 7e2622a934f04a2e5b23a355f920473ccf0144e946b433bc619a9802c1e3785c value: 7e2622a934f04a2e5b23a355f920473ccf0144e946b433bc619a9802c1e3785c
- filename: jsonnet
url: https://ironbank-files.s3.amazonaws.com/jsonnet
validation:
type: sha256
value: 9ce7dfdedd3b742bd9a0afb8aa25afe3f5e040e80754aba01868f4a6ae163a2a
# List of project maintainers # List of project maintainers
maintainers: maintainers:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment