get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/exec-outputs/Dockerfile.tmpl (about)

     1  FROM debian:stable-slim
     2  
     3  ARG BUNDLE_DIR
     4  
     5  # Install jq, we aren't using the mixin because it's an example bundle and jq
     6  # isn't a default mixin
     7  RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
     8  RUN apt-get update && apt-get install gnupg2 -y
     9  ENV JQ_VERSION='1.6'
    10  
    11  RUN wget --no-check-certificate https://raw.githubusercontent.com/jqlang/jq/master/sig/jq-release-old.key -O /tmp/jq-release.key && \
    12      wget --no-check-certificate https://raw.githubusercontent.com/jqlang/jq/master/sig/v${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc && \
    13      wget --no-check-certificate https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64 && \
    14      gpg --import /tmp/jq-release.key && \
    15      gpg --verify /tmp/jq-linux64.asc /tmp/jq-linux64 && \
    16      cp /tmp/jq-linux64 /usr/bin/jq && \
    17      chmod +x /usr/bin/jq && \
    18      rm -f /tmp/jq-release.key && \
    19      rm -f /tmp/jq-linux64.asc && \
    20      rm -f /tmp/jq-linux64
    21  
    22  # Use the BUNDLE_DIR build argument to copy files into the bundle
    23  COPY . ${BUNDLE_DIR}