20 lines
651 B
Docker
20 lines
651 B
Docker
# NAME graytech/otrs
|
|
# VERSION 5.0.21
|
|
# 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 \
|
|
"perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(Crypt::Eksblowfish::Bcrypt)" "perl(Encode::HanExtra)" "perl(JSON::XS)" \
|
|
nginx perl-DBD-MySQL fcgiwrap \
|
|
http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-5.0.21-02.noarch.rpm \
|
|
&& yum clean all && rm -rf /var/tmp/*
|
|
|
|
COPY init /sbin
|
|
|
|
CMD [ "/sbin/init" ]
|