Dockerfile 686 B

12345678910111213141516171819
  1. FROM registry.sdsys.ru/centos:7.4.1708
  2. ENV LANG="en_US.UTF-8"
  3. ENTRYPOINT ["/docker-entrypoint.sh"]
  4. EXPOSE 3050
  5. COPY firebird.conf /etc/firebird/firebird.conf
  6. COPY docker-entrypoint.sh /docker-entrypoint.sh
  7. RUN set -x && \
  8. yum install -y epel-release && \
  9. 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 && \
  10. yum install -y firebird icu && \
  11. mkdir /var/run/firebird && \
  12. chown firebird. /var/run/firebird && \
  13. mkdir /data && \
  14. chown firebird. /data && \
  15. yum clean all && \
  16. chmod +x /docker-entrypoint.sh
  17. VOLUME /data
  18. CMD ["/usr/sbin/fbguard"]