A small Perl 6 application to start an IRC bot to notify channels of new Perl 6 modules uploaded to CPAN
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 595B

123456789101112131415161718192021222324252627282930
  1. FROM tyil/perl6:debian-dev-latest as install
  2. WORKDIR /app
  3. RUN apt update && apt install -y curl git libssl-dev unzip uuid-dev
  4. COPY META6.json META6.json
  5. RUN zef install --deps-only --/test .
  6. COPY bin bin
  7. COPY lib lib
  8. FROM tyil/perl6:debian-latest
  9. ENV PERL6LIB=lib
  10. WORKDIR /app
  11. RUN mkdir -p /usr/share/man/man1
  12. RUN mkdir -p /usr/share/man/man7
  13. RUN apt update && apt install -y libssl-dev postgresql-client
  14. COPY --from=install /app /app
  15. COPY --from=install /usr/local /usr/local
  16. RUN mkdir -p /var/docker/meta
  17. RUN date "+%FT%TZ" > /var/docker/meta/build-date
  18. CMD [ "perl6", "bin/bot" ]