Skip to content

Commit

Permalink
Fix the exec-outputs example bundle
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Christensen <[email protected]>
  • Loading branch information
kichristensen committed Aug 5, 2024
1 parent a2ab097 commit 6a30ec1
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions exec-outputs/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,7 @@ ARG BUNDLE_DIR

# Install jq, we aren't using the mixin because it's an example bundle and jq
# isn't a default mixin
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install gnupg2 -y
ENV JQ_VERSION='1.6'
RUN wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key -O /tmp/jq-release.key && \
wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/v${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc && \
wget --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64 && \
gpg --import /tmp/jq-release.key && \
gpg --verify /tmp/jq-linux64.asc /tmp/jq-linux64 && \
cp /tmp/jq-linux64 /usr/bin/jq && \
chmod +x /usr/bin/jq && \
rm -f /tmp/jq-release.key && \
rm -f /tmp/jq-linux64.asc && \
rm -f /tmp/jq-linux64
RUN apt-get update && apt-get install gnupg2 jq -y && rm -rf /var/lib/apt/lists/*

# Use the BUNDLE_DIR build argument to copy files into the bundle
COPY . ${BUNDLE_DIR}

0 comments on commit 6a30ec1

Please sign in to comment.