From 8b8a2350c1a537b537263ceb2e0cd0cdddba0cd5 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 01:38:16 +0000 Subject: [PATCH] feat: Updated cs/markdown/dockerfile/Dockerfile --- cs/markdown/dockerfile/Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cs/markdown/dockerfile/Dockerfile b/cs/markdown/dockerfile/Dockerfile index 2f027125..2e89f7b6 100644 --- a/cs/markdown/dockerfile/Dockerfile +++ b/cs/markdown/dockerfile/Dockerfile @@ -1,12 +1,12 @@ +FROM ubuntu:latest + ENV JQ_VERSION='1.5' -RUN wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key -O /tmp/jq-release.key && \ +RUN apt-get update && \ + apt-get install -y wget && \ + 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 \ No newline at end of file + apt-get remove -y wget && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* && \ + rm -rf /tmp/* \ No newline at end of file