Skip to content

Commit

Permalink
Issue #2694: provide GraphViz in the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Nov 20, 2023
1 parent aab8475 commit ccaebda
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions bin/otobo.CheckModules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ =head1 DESCRIPTION
'div:ldap' => 1,
'div:xslt' => 1,
'gazelle' => 1,
'graph:graphviz' => 1,
'mail:imap' => 1,
'mail:ntlm' => 1,
'mail:sasl' => 1,
Expand Down Expand Up @@ -942,6 +943,20 @@ =head1 DESCRIPTION
},
},

# Feature graph
{
Module => 'GraphViz2',
Features => ['graph:graphviz'],
VersionRequired => '2.67', # released 2022-07-21
Comment => q{A wrapper for AT&T's Graphviz},
InstTypes => {
aptget => undef, # available only in Debian testing
emerge => undef,
zypper => undef,
ports => undef,
},
},

# Feature auth
{
Module => 'Crypt::JWT',
Expand Down
9 changes: 9 additions & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ feature 'gazelle', 'Required packages if you want to use Gazelle webserver' => s

};

feature 'graph:graphviz', 'Support for feature graph:graphviz' => sub {
# A wrapper for AT&T's Graphviz
requires 'GraphViz2', ">= 2.67";

};

feature 'mail', 'Features enabling communication with a mail-server' => sub {
# Simple Mail Transfer Protocol Client.
# Please consider updating to version 3.11 or higher: This version fixes email sending (bug#14357).
Expand Down Expand Up @@ -316,6 +322,9 @@ feature 'optional', 'Support for feature optional' => sub {
# Used when plackup is run with the -R option. This option restarts the server when files have changed.
requires 'Linux::Inotify2';

# A wrapper for AT&T's Graphviz
requires 'GraphViz2', ">= 2.67";

# Required for authentication via OpenIDConnect.
requires 'Crypt::JWT';

Expand Down
6 changes: 6 additions & 0 deletions cpanfile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ requires 'Const::Fast';

# };

# feature 'graph:graphviz', 'Support for feature graph:graphviz' => sub {
# A wrapper for AT&T's Graphviz
requires 'GraphViz2', ">= 2.67";

# };

# Feature 'mail' is not needed for Docker


Expand Down
1 change: 1 addition & 0 deletions otobo.web.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN apt-get update\
"ack"\
"cron"\
"default-mysql-client"\
"graphviz"\
"ldap-utils"\
"less"\
"nano"\
Expand Down

0 comments on commit ccaebda

Please sign in to comment.