From a493a7162efd325f62f87960d7c5ac10b5cc638a Mon Sep 17 00:00:00 2001 From: Alex Belanger Date: Fri, 8 Mar 2024 20:25:35 -0500 Subject: [PATCH] Missing cpan dependency. --- Dockerfile | 6 ++---- cpanfile | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2659ccb..53cc34f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,10 @@ FROM perl:5.34 RUN apt-get update && apt-get install -y make gcc clang cpanminus dos2unix wamerican # Install pbot and its own dependencies. -RUN cd /opt && git clone --recursive https://github.com/pragma-/pbot +# FIXME: Replace nitrix with pragma-. +RUN cd /opt && git clone --recursive https://github.com/nitrix/pbot RUN cd /opt/pbot && cpanm -n --installdeps . --with-all-features --without-feature=compiler_vm_win32 -# HACK: Missing from the cpanfile. -RUN cpanm Import::Into - # Mount point for to persist the bot's data. RUN mkdir /mnt/persistent diff --git a/cpanfile b/cpanfile index d46e9148..d7720179 100644 --- a/cpanfile +++ b/cpanfile @@ -26,6 +26,7 @@ requires 'File::HomeDir'; requires 'File::Spec'; requires 'Getopt::Long'; requires 'HTML::Entities'; +requires 'Import::Into'; requires 'IO::File'; requires 'IO::Select'; requires 'IO::Socket';