install required packages and skip preinstalled php extensions
This commit is contained in:
@@ -13,8 +13,9 @@ ENV WEBSERVER_PORT=8080
|
||||
|
||||
COPY start-container.sh /usr/local/bin/start-container
|
||||
|
||||
RUN apk add --no-cache libcurl \
|
||||
&& docker-php-ext-install ctype curl dom fileinfo filter hash mbstring openssl pcre pdo session tokenizer xml \
|
||||
# preinstalled hash openssl pcre tokenizer
|
||||
RUN apk add --no-cache curl-dev libxml2-dev oniguruma-dev \
|
||||
&& docker-php-ext-install ctype curl dom fileinfo filter mbstring pdo session xml \
|
||||
&& chmod +x /usr/local/bin/start-container \
|
||||
&& echo "install composer" \
|
||||
&& curl -o composer-setup.php https://getcomposer.org/installer \
|
||||
|
||||
Reference in New Issue
Block a user