diff options
author | David Foucher <dev@tyjak.net> | 2020-05-23 14:26:04 +0200 |
---|---|---|
committer | David Foucher <dev@tyjak.net> | 2020-05-23 14:26:04 +0200 |
commit | c0d750b9e57546055804020fc2949dbce0dd4a5c (patch) | |
tree | d8a034751a04f9376064e253304b6658a901c566 | |
parent | 8f80821820e4024c899d762efb0d2ab3426afc6c (diff) | |
download | Shaarli-c0d750b9e57546055804020fc2949dbce0dd4a5c.tar.gz Shaarli-c0d750b9e57546055804020fc2949dbce0dd4a5c.tar.zst Shaarli-c0d750b9e57546055804020fc2949dbce0dd4a5c.zip |
Fix missing php7-simplexml plugin
This is to fix this error I got:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for slim/slim 3.12.3 -> satisfiable by slim/slim[3.12.3].
- slim/slim 3.12.3 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php7/php.ini
- /etc/php7/conf.d/00_curl.ini
- /etc/php7/conf.d/00_iconv.ini
- /etc/php7/conf.d/00_json.ini
- /etc/php7/conf.d/00_mbstring.ini
- /etc/php7/conf.d/00_openssl.ini
- /etc/php7/conf.d/01_phar.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
-rw-r--r-- | Dockerfile.armhf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile.armhf b/Dockerfile.armhf index b75663bb..5bbf6680 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf | |||
@@ -12,7 +12,7 @@ RUN apk --update --no-cache add py2-pip \ | |||
12 | # - Resolve PHP dependencies with Composer | 12 | # - Resolve PHP dependencies with Composer |
13 | FROM arm32v6/alpine:3.8 as composer | 13 | FROM arm32v6/alpine:3.8 as composer |
14 | COPY --from=docs /usr/src/app/shaarli /app/shaarli | 14 | COPY --from=docs /usr/src/app/shaarli /app/shaarli |
15 | RUN apk --update --no-cache add php7-curl php7-mbstring composer \ | 15 | RUN apk --update --no-cache add php7-curl php7-mbstring php7-simplexml composer \ |
16 | && cd /app/shaarli \ | 16 | && cd /app/shaarli \ |
17 | && composer --prefer-dist --no-dev install | 17 | && composer --prefer-dist --no-dev install |
18 | 18 | ||