Guest User

Untitled

a guest
Apr 24th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. phpoffice/phpspreadsheet 1.2.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
  2.  
  3. FROM php:7.2-alpine
  4.  
  5. RUN apk update
  6. RUN apk add zlib-dev gd php7-gd
  7. RUN docker-php-ext-install sockets pdo_mysql zip
  8. RUN apk add --no-cache libpng libpng-dev && docker-php-ext-install gd
  9.  
  10. build:
  11. docker run --rm --tty --user $$(id -u):$$(id -g)
  12. --volume "$$(pwd)":/app
  13. --volume "$$(pwd)/ops/jenkins/github.token":/tmp/auth.json
  14. --volume "$$(pwd)/ops/jenkins/composer_trust_github.com":/root/.ssh/config
  15. composer install --no-dev
  16. rm -rf ops/docker/app.tar.gz
  17. tar -czvf ops/docker/app.tar.gz -X ops/jenkins/build_excludes .
  18.  
  19. docker run --rm --tty --user $(id -u):$(id -g)
  20. --volume "$(pwd)":/app
  21. --volume "$(pwd)/ops/jenkins/github.token":/tmp/auth.json
  22. --volume "$(pwd)/ops/jenkins/composer_trust_github.com":/root/.ssh/config
  23. --volume "$(pwd)/ops/jenkins/php/php.ini":/usr/local/etc/php/php.ini
  24. composer install --no-dev
  25. [32mLoading composer repositories with package information[39m
  26. [32mInstalling dependencies from lock file[39m
  27. [37;41mYour requirements could not be resolved to an installable set of packages.[39;49m
  28.  
  29. Problem 1
  30. - Installation request for phpoffice/phpspreadsheet 1.2.1 -> satisfiable by phpoffice/phpspreadsheet[1.2.1].
  31. - phpoffice/phpspreadsheet 1.2.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
Add Comment
Please, Sign In to add comment