You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 688B

1234567891011121314151617
  1. FROM debian:stretch
  2. ADD https://raw.githubusercontent.com/docker-gcf/docker-gcf/v1.5.0/setup.sh /tmp/docker-utils-setup.sh
  3. RUN sh /tmp/docker-utils-setup.sh
  4. ENTRYPOINT ["gcf-entrypoint"]
  5. CMD ["run.sh"]
  6. ENV POSTFIX_VERSION=3.1.*
  7. RUN groupadd -r email --gid=7788 && useradd -r -g email --uid=7788 email &&\
  8. echo "postfix postfix/main_mailer_type string Internet site" > preseed.txt &&\
  9. echo "postfix postfix/mailname string mail.example.com" >> preseed.txt &&\
  10. debconf-set-selections preseed.txt &&\
  11. pkgs-install postfix=${POSTFIX_VERSION} postfix-pgsql=${POSTFIX_VERSION} postfix-ldap=${POSTFIX_VERSION} rsyslog
  12. COPY ./bin /usr/local/bin/
  13. COPY ./config /etc/salt/base/