Dockerfile 783 B

1234567891011121314151617181920212223242526
  1. FROM centos:7.8.2003
  2. ENV LANG="en_US.UTF-8"
  3. VOLUME /data
  4. ENTRYPOINT ["/entrypoint.sh"]
  5. EXPOSE 3050
  6. RUN set -x && \
  7. yum install -y epel-release && \
  8. curl https://copr.fedorainfracloud.org/coprs/makowski/firebird/repo/epel-7/makowski-firebird-epel-7.repo \
  9. > /etc/yum.repos.d/makowski-firebird-epel-7.repo && \
  10. yum install -y firebird-3.0.6.33328 icu && \
  11. mkdir -p /var/run/firebird && \
  12. chown firebird. /var/run/firebird && \
  13. chown firebird. /data && \
  14. yum clean all
  15. COPY libcrypto.so /usr/lib64/firebird/plugins/udr/libcrypto.so
  16. COPY libcluster.so /usr/lib64/firebird/plugins/libcluster.so
  17. COPY entrypoint.sh \
  18. healthcheck.sh \
  19. /
  20. RUN set -x && \
  21. chmod +x /entrypoint.sh && \
  22. chmod +x /healthcheck.sh
  23. CMD ["/usr/sbin/fbguard"]