diff --git a/.hadolint.yaml b/.hadolint.yaml deleted file mode 100644 index b757c9278..000000000 --- a/.hadolint.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -ignored: - # PDL3007 asks you to pin the FROM version explicitly to a release tag. - - DL3007 diff --git a/Dockerfile b/Dockerfile index d8d4afb6d..976a9f5f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# hadolint ignore=DL3007 FROM metacpan/metacpan-base:latest COPY cpanfile cpanfile.snapshot /metacpan-api/ @@ -9,7 +10,7 @@ WORKDIR /metacpan-api # size of the images. RUN mkdir /CPAN \ && apt-get update \ - && apt-get install -y --no-install-recommends rsync=3.2.3-4+deb11u1 jq \ + && apt-get satisfy -y --no-install-recommends 'rsync (>= 3.2.3)' 'jq (>= 1.6)' \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && cpm install --global \