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 776B

123456789101112131415161718192021222324
  1. FROM debian:stretch as builder
  2. RUN apt-get update &&\
  3. apt-get install -y gcc g++ cmake libssl-dev libjsoncpp-dev libmilter-dev wget unzip &&\
  4. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  5. RUN wget https://git.rthoni.com/robin.thoni/milter-sasl/archive/v1.0.0.zip -O milter-sasl.zip &&\
  6. unzip milter-sasl.zip &&\
  7. cd milter-sasl &&\
  8. mkdir build && cd build &&\
  9. cmake .. && make
  10. FROM debian:stretch
  11. ADD https://raw.githubusercontent.com/docker-gcf/docker-gcf/v1.5.0/setup.sh /tmp/docker-utils-setup.sh
  12. RUN sh /tmp/docker-utils-setup.sh
  13. ENTRYPOINT ["gcf-entrypoint"]
  14. CMD ["milter-sasl"]
  15. RUN pkgs-install libjsoncpp1 libmilter1.0.1
  16. COPY --from=builder /milter-sasl/build/src/milter-sasl /usr/local/bin/
  17. COPY ./config /etc/salt/base/