Upgrade Wordpress, WooCommerce and plugin (#7)
* Upgrade Wordpress, WooCommerce and plugin * Remove GMP * Update Dockerfile
This commit is contained in:
parent
de43fc4bf9
commit
caed280bff
23
Dockerfile
23
Dockerfile
@ -1,7 +1,7 @@
|
||||
FROM wordpress:6.0.0
|
||||
FROM wordpress:6.0.2-php8.0
|
||||
|
||||
ENV WOOCOMMERCE_VERSION 6.6.1
|
||||
ENV BTCPAY_PLUGIN_VERSION 1.0.2
|
||||
ENV WOOCOMMERCE_VERSION 6.9.4
|
||||
ENV BTCPAY_PLUGIN_VERSION 1.1.1
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends unzip wget \
|
||||
@ -16,22 +16,17 @@ RUN apt-get update \
|
||||
|
||||
# Install the gmp, mcrypt and soap extensions
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y libgmp-dev libxml2-dev
|
||||
RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/local/include/
|
||||
RUN docker-php-ext-configure gmp
|
||||
RUN docker-php-ext-install gmp
|
||||
RUN apt-get install -y libxml2-dev
|
||||
RUN docker-php-ext-install soap
|
||||
|
||||
# Download WordPress CLI
|
||||
RUN curl -L "https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar" > /usr/bin/wp && \
|
||||
chmod +x /usr/bin/wp
|
||||
RUN curl -L "https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar" > /usr/bin/wp && chmod +x /usr/bin/wp
|
||||
|
||||
RUN { \
|
||||
echo 'file_uploads = On'; \
|
||||
echo 'post_max_size=100M'; \
|
||||
echo 'upload_max_filesize=100M'; \
|
||||
} > /usr/local/etc/php/conf.d/uploads.ini
|
||||
|
||||
echo 'file_uploads = On'; \
|
||||
echo 'post_max_size=100M'; \
|
||||
echo 'upload_max_filesize=100M'; \
|
||||
} > /usr/local/etc/php/conf.d/uploads.ini
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
VOLUME ["/var/www/html"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user