FROM centos:7.7.1908 ENV LANG="en_US.UTF-8" VOLUME /data ENTRYPOINT ["/docker-entrypoint.sh"] EXPOSE 3050 HEALTHCHECK --start-period=30s --interval=15s --timeout=5s --retries=2 CMD /healthcheck.sh RUN set -x && \ yum install -y epel-release && \ curl https://copr.fedorainfracloud.org/coprs/makowski/firebird/repo/epel-7/makowski-firebird-epel-7.repo > /etc/yum.repos.d/makowski-firebird-epel-7.repo && \ yum install -y firebird-3.0.6.33328 icu && \ mkdir -p /var/run/firebird && \ chown firebird. /var/run/firebird && \ chown firebird. /data && \ yum clean all && \ ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime COPY firebird.conf /etc/firebird/firebird.conf COPY docker-entrypoint.sh /docker-entrypoint.sh COPY healthcheck.sh /healthcheck.sh COPY libcluster.so /usr/lib64/firebird/plugins/ COPY cluster.conf /usr/lib64/firebird/plugins/ COPY libcrypto.so /usr/lib64/firebird/plugins/udr RUN set -x && \ chmod +x /docker-entrypoint.sh && \ chmod +x /healthcheck.sh CMD ["/usr/sbin/fbguard"]