Dockerfile 732 B

1234567891011121314151617181920
  1. FROM centos:7.5.1804
  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. ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
  18. VOLUME /data
  19. CMD ["/usr/sbin/fbguard"]