bump ziti cli version and install jq

This commit is contained in:
Kenneth Bingham 2023-10-25 12:59:57 -04:00
parent ac8eb82600
commit 818b4d8a3e
No known key found for this signature in database
GPG Key ID: 31709281860130B6

View File

@ -1,7 +1,8 @@
# this builds docker.io/openziti/zrok # this builds docker.io/openziti/zrok
FROM docker.io/openziti/ziti-cli:0.27.9 ARG ZITI_CLI_TAG="0.30.5"
# This build stage grabs artifacts that are copied into the final image. ARG ZITI_CLI_IMAGE="docker.io/openziti/ziti-cli"
# It uses the same base as the final image to maximize docker cache hits. # this builds docker.io/openziti/ziti-controller
FROM ${ZITI_CLI_IMAGE}:${ZITI_CLI_TAG}
ARG ARTIFACTS_DIR=./dist ARG ARTIFACTS_DIR=./dist
ARG DOCKER_BUILD_DIR=. ARG DOCKER_BUILD_DIR=.
@ -19,6 +20,11 @@ LABEL name="openziti/zrok" \
USER root USER root
### install packages (jq introduced in source image in next release 0.30.6)
RUN INSTALL_PKGS="jq" && \
microdnf -y update --setopt=install_weak_deps=0 --setopt=tsflags=nodocs && \
microdnf -y install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs ${INSTALL_PKGS}
### add licenses to this directory ### add licenses to this directory
RUN mkdir -p -m0755 /licenses RUN mkdir -p -m0755 /licenses
COPY ./LICENSE /licenses/apache.txt COPY ./LICENSE /licenses/apache.txt