24 lines
967 B
Docker
24 lines
967 B
Docker
# NAME graytech/otrs
|
|
# VERSION 6.0.28
|
|
# BUILD docker build -t="leenooks/otrs" .
|
|
# SETUP su otrs -s /bin/bash -c /opt/otrs/bin/otrs.RebuildConfig.pl
|
|
# START docker run ...
|
|
# ftp://ftp.otrs.org/pub/otrs/packages/FAQ-5.0.3.opm
|
|
# ftp://ftp.otrs.org/pub/otrs/packages/iPhoneHandle-4.0.2.opm
|
|
|
|
FROM registry.leenooks.net/leenooks/base:7
|
|
|
|
RUN yum -y install https://harbottle.gitlab.io/epmel/7/x86_64/epmel-release.rpm \
|
|
&& yum clean all && rm -rf /var/tmp/*
|
|
|
|
RUN yum -y install \
|
|
"perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(Crypt::Eksblowfish::Bcrypt)" "perl(Encode::HanExtra)" "perl(JSON::XS)" "perl(Moo)" "perl(namespace::clean)"\
|
|
"perl(Crypt::Random::Source)" "perl(Exporter::Tiny)" "perl(Math::Random::ISAAC)" "perl(Math::Random::Secure)" "perl(Module::Find)" "perl(Types::TypeTiny)" \
|
|
nginx perl-DBD-MySQL fcgiwrap \
|
|
http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-6.0.28-01.noarch.rpm \
|
|
&& yum clean all && rm -rf /var/tmp/*
|
|
|
|
COPY init /sbin
|
|
|
|
CMD [ "/sbin/init" ]
|