Skip to content

Commit

Permalink
Hopefully fix Dockerfile issues related to Perl dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Feb 29, 2024
1 parent 02e6011 commit 810b200
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ RUN apt install -y curl wget bash git make jq
# Perl dependencies
RUN apt install -y perl build-essential librdf-query-perl librdf-query-client-perl libexpat1-dev libssl-dev zlib1g-dev
RUN yes | cpan App::cpanminus
RUN cpanm -n App::skos2jskos Catmandu Catmandu::MARC Catmandu::Breaker Catmandu::Importer::SRU Catmandu::Importer::SRU::Parser::picaxml PICA::Data XML::Simple
# Some Perl dependencies are downloading files with crazy high user IDs for some reason...
RUN chown -R root:root /root/.cpanm/work/
# Some Perl dependencies are downloading files with crazy high user IDs for some reason, so we're chown'ing everything...
RUN cpanm -n App::skos2jskos Catmandu Catmandu::MARC Catmandu::Breaker Catmandu::Importer::SRU Catmandu::Importer::SRU::Parser::picaxml PICA::Data XML::Simple && chown -R root:root /root/.cpanm/work/

# Python dependencies
RUN apt install -y python3 python3-pip
Expand Down

0 comments on commit 810b200

Please sign in to comment.