Skip to content

Commit

Permalink
Force installation of perlbrew
Browse files Browse the repository at this point in the history
Motivation:

We need to force the installation of perlbrew otherwise the docker image generation might fail

Modifications:

Add --force

Result:

Docker image can be build again
  • Loading branch information
normanmaurer committed Feb 3, 2025
1 parent 9d4e98d commit 51cba39
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 --notest --thread --switch perl-5.16.3
RUN /root/perl5/perlbrew/bin/perlbrew install --notest --force --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 51cba39

Please sign in to comment.