Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-10727

Add jq to 3scale toolbox image

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Can't Do
    • Major
    • None
    • None
    • Toolbox
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      3scale toolbox can output JSON content, and having `jq` available makes sense.

      A workaround in the meanwhile, can be to build a personalized image using the toolbox image as a base and install jq from there.

      To do this create a Dockerfile with the following contents:

      FROM registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.14
      USER root
      RUN dnf install -y jq
      USER 1001

      Build the image with the tag toolbox (the tag is arbitrary):

      docker build -t toolbox .

      Run the new image using the toolbox tag:

      docker run -it toolbox jq --version

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-eazevedo Ernani Azevedo
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: