Skip to content

Commit

Permalink
Don't run testsuite when installing perl via perlbrew (#904)
Browse files Browse the repository at this point in the history
Motivation:

Let's just skip running the tests to speedup building the docker image

Modifications:

Don't run the test while building / installing perl

Result:

Faster to build docker image
  • Loading branch information
normanmaurer authored Nov 8, 2024
1 parent cdab3b7 commit 0e96400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.centos6
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN rm -rf $SOURCE_DIR
RUN curl -L https://install.perlbrew.pl | bash
RUN echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bashrc

RUN /root/perl5/perlbrew/bin/perlbrew install --thread --switch perl-5.16.3
RUN /root/perl5/perlbrew/bin/perlbrew install --notest --thread --switch perl-5.16.3
RUN ln -sf /root/perl5/perlbrew/perls/perl-5.16.3/bin/perl /usr/bin/perl

# Downloading and installing SDKMAN!
Expand Down

0 comments on commit 0e96400

Please sign in to comment.