You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
docker-wordpress-sqlite/Dockerfile.arm32v7

25 lines
828 B

FROM arm32v7/wordpress:4-php7.2-apache
# install the PHP extensions we need
RUN set -ex; \
\
apt-get update; \
apt-get install -y \
libsqlite3-dev \
unzip \
; \
rm -rf /var/lib/apt/lists/*; \
\
docker-php-ext-install gd pdo pdo_sqlite
# TODO consider removing the *-dev deps and only keeping the necessary lib* packages
ADD https://downloads.wordpress.org/plugin/sqlite-integration.1.8.1.zip /usr/src/wordpress/wp-content/plugins/
RUN unzip /usr/src/wordpress/wp-content/plugins/sqlite-integration.1.8.1.zip -d /usr/src/wordpress/wp-content/plugins/ && \
rm /usr/src/wordpress/wp-content/plugins/sqlite-integration.1.8.1.zip && \
cp /usr/src/wordpress/wp-content/plugins/sqlite-integration/db.php /usr/src/wordpress/wp-content/
COPY docker-entrypoint.sh /usr/local/bin/
ENV WORDPRESS_DB_FILE=database.sqlite