Skip to content

Instantly share code, notes, and snippets.

@naazeri
Forked from kubaceg/Dockerfile
Last active January 18, 2020 03:09
Show Gist options
  • Save naazeri/32b7b4d3943ecddb2efc8d039fcc7740 to your computer and use it in GitHub Desktop.
Save naazeri/32b7b4d3943ecddb2efc8d039fcc7740 to your computer and use it in GitHub Desktop.
Docker install ioncube extension (php 7.3)
# replace wordpress with any image you like :)
FROM wordpress:php7.3-fpm-alpine
RUN curl -o ioncube.tar.gz http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
&& tar -xvvzf ioncube.tar.gz \
&& mv ioncube/ioncube_loader_lin_7.3.so `php-config --extension-dir` \
&& rm -Rf ioncube.tar.gz ioncube \
&& docker-php-ext-enable ioncube_loader_lin_7.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment