From 53f6d669554eea98b45e3880e7d815166b9d46d0 Mon Sep 17 00:00:00 2001 From: Jizu Date: Mon, 5 Feb 2024 21:24:46 +0800 Subject: [PATCH] fix docker build --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78ea984..15e7d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,8 @@ FROM python:3.11.4-alpine - ENV REVIEWDOG_VERSION=v0.17.0 - -RUN set -eux \ - apk --update add git gcc musl-dev \ +RUN apk --no-cache add git gcc musl-dev \ && wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION} \ - && pip install detect-secrets[word_list] \ - && rm -rf /var/cache/apk/* + && pip install detect-secrets[word_list] COPY baseline2rdf.py /usr/local/bin/baseline2rdf COPY entrypoint.sh /entrypoint.sh