Skip to content

Commit 1363c75

Browse files
committed
Add rsync to container for index updates
Running `index-cpan.sh` requires that `rsync` is installed within the container. It was previously removed from the `metacpan-base` image, and as the api is the container that will make use of it (or a container based on its image), adding it into the image.
1 parent 7fed035 commit 1363c75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ WORKDIR /metacpan-api
1010
# modules is tested by the test suite. Removing the tests, reduces the overall
1111
# size of the images.
1212
RUN mkdir /CPAN \
13+
&& apt-get update \
14+
&& apt-get install -y rsync \
1315
&& cpm install --global --without-test \
1416
&& rm -fr /root/.cpanm /root/.perl-cpm /var/cache/apt/lists/* /tmp/*
1517

0 commit comments

Comments
 (0)