Dockerfile 621 B

123456789101112131415161718192021222324252627
  1. # consider switching to https://hub.docker.com/_/php/
  2. FROM alpine:3.8
  3. RUN apk add \
  4. composer \
  5. git \
  6. php7-curl \
  7. php7-dom \
  8. php7-exif \
  9. php7-fileinfo \
  10. php7-iconv \
  11. php7-pdo \
  12. php7-simplexml \
  13. php7-tokenizer \
  14. php7-xml \
  15. php7-xmlwriter \
  16. php7-zip \
  17. php7-pgsql \
  18. php7-session
  19. RUN git clone --branch master https://github.com/phanan/koel /koel
  20. WORKDIR /koel
  21. # In Encrypter.php line 43:
  22. # The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
  23. RUN sed 's/^APP_KEY=$/APP_KEY=WORKAROUND_000000000000000000000/' .env.example >.env
  24. RUN composer install --no-interaction