No Description https://cryptcheck.fr/
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 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. FROM alpine:3.7 AS builder
  2. MAINTAINER aeris <aeris@imirhil.fr>
  3. RUN apk add --update make gcc \
  4. linux-headers readline-dev libxml2-dev yaml-dev zlib-dev libffi-dev gdbm-dev ncurses-dev \
  5. ca-certificates wget patch perl musl-dev bash coreutils git
  6. ENV LD_LIBRARY_PATH /usr/local/ssl/lib
  7. WORKDIR /cryptcheck/
  8. COPY . /cryptcheck/
  9. RUN make install-openssl
  10. RUN PATH=/usr/local/ssl/bin:$PATH \
  11. LIBRARY_PATH=$LD_LIBRARY_PATH \
  12. C_INCLUDE_PATH=/usr/local/ssl/include \
  13. ac_cv_func_isnan=yes ac_cv_func_isinf=yes \
  14. make install-ruby && \
  15. make mr-proper
  16. RUN echo "gem: --no-test --no-document" > /etc/gemrc && \
  17. gem install bundler && \
  18. bundle install --deployment --without development test
  19. FROM alpine:3.7 AS engine
  20. MAINTAINER aeris <aeris@imirhil.fr>
  21. WORKDIR /cryptcheck/
  22. RUN apk add --update bash ca-certificates libxml2 yaml zlib libffi gdbm ncurses
  23. ENV LD_LIBRARY_PATH /usr/local/ssl/lib/
  24. COPY --from=builder /etc/gemrc /etc/gemrc
  25. COPY --from=builder /usr/local/ssl/ /usr/local/ssl/
  26. COPY --from=builder /usr/local/include/ruby-2.3.0/ /usr/local/include/ruby-2.3.0/
  27. COPY --from=builder /usr/local/bin/bundle \
  28. /usr/local/bin/bundler\
  29. /usr/local/bin/gem \
  30. /usr/local/bin/rake \
  31. /usr/local/bin/ruby \
  32. /usr/local/bin/
  33. COPY --from=builder /usr/local/lib/libruby* /usr/local/lib/
  34. COPY --from=builder /usr/local/lib/ruby/ /usr/local/lib/ruby/
  35. COPY --from=builder /cryptcheck/ /cryptcheck/