Sha256: da40b109f70eb7f2c0ac0b573d3053ae9d2e6c490a006eb7964c1c894675a576

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

Stored size: 568 Bytes

Contents

FROM centos:8

RUN dnf -y module enable ruby:2.6 \
    && dnf -y install \
    ruby ruby-devel mariadb-devel sqlite-devel gcc make redhat-rpm-config \
    mariadb dovecot git \
    && dnf clean all

WORKDIR /app

COPY Gemfile postfix_admin.gemspec ./
COPY ./lib/postfix_admin/version.rb ./lib/postfix_admin/version.rb

RUN gem install bundler && bundle install

COPY spec/postfix_admin.conf /root/.postfix_admin.conf

COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 80

CMD ["/sbin/init"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
postfix_admin-0.2.0 Dockerfile