Skip to content

Commit

Permalink
Merge pull request #1162 from metacpan/haarg/fix-rsync-version-again
Browse files Browse the repository at this point in the history
fix installing rsync by specifying a minimum rather than exact version
  • Loading branch information
haarg authored Feb 12, 2024
2 parents 01789fb + 35729fa commit ac05c8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .hadolint.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# hadolint ignore=DL3007
FROM metacpan/metacpan-base:latest

COPY cpanfile cpanfile.snapshot /metacpan-api/
Expand All @@ -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 \
Expand Down

0 comments on commit ac05c8f

Please sign in to comment.