diff --git a/Dockerfile b/Dockerfile index 3ceaebd..5d80bd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM perl:5.32 # Dependency time RUN apt-get update +RUN apt-get -y upgrade RUN apt-get -y install fortune-mod ruby RUN cpanm CGI RUN cpanm CGI::Carp @@ -9,6 +10,9 @@ RUN cpanm Mojolicious RUN cpanm Mojolicious::Plugin::CGI RUN cpanm Number::Format RUN cpanm Regexp::Common +# Version 0.106 of Getopt::Long::Descriptive won't build for me; as +# it's just a dependency for WebService::Mattermost anyways let's just +# go with 0.105 since we know that works RUN cpanm RJBS/Getopt-Long-Descriptive-0.105.tar.gz RUN cpanm WebService::Mattermost RUN cpanm XML::LibXML diff --git a/www-swagg.pl b/www-swagg.pl index 8b10c82..ec43228 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -11,8 +11,8 @@ use Number::Format qw{format_number}; plugin 'Config'; # CGI scripts -plugin CGI => ['/cgi-bin/guest' => './cgi-bin/guest_mm.cgi']; -plugin CGI => ['/cgi-bin/whoami' => './cgi-bin/whoami.cgi' ]; +plugin CGI => ['/cgi-bin/guest.cgi' => './cgi-bin/guest_mm.cgi']; +plugin CGI => ['/cgi-bin/whoami.cgi' => './cgi-bin/whoami.cgi' ]; # Handle the session under sub {