Skip to content

Instantly share code, notes, and snippets.

View dwayneparton's full-sized avatar

Dwayne Parton dwayneparton

View GitHub Profile
@dwayneparton
dwayneparton / Dockerfile
Created April 28, 2021 20:49
How to install PHP GEOS on php/wordpress docker image
FROM wordpress:latest
RUN apt-get update
# Install Libgeos
RUN apt-get install -y libgeos-dev
# Install PHP GEOS
RUN curl -fsSL 'https://git.osgeo.org/gitea/geos/php-geos/archive/master.tar.gz' -o php-geos.tar.gz \
&& mkdir -p /tmp/php-geos \