amaccis / docker-php-libstemmer

Docker Alpine Linux environment with PHP onboard, its FFI extension enabled and the libstemmer compiled as a shared library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amaccis/php-libstemmer

The purpouse of this image is to provide an Alpine Linux environment with PHP 8 onboard, its FFI extension enabled and the libstemmer compiled as a shared library. Besides, composer is included.

Snowball and libstemmer

Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval. Libstemmer instead, contains a complete set of Snowball stemming algorithms that you can include into a C project of your own. With libstemmer you don't need to use the Snowball compiler.

How to use this image

Using docker

$ docker run --name php-libstemmer -v $PWD/:/var/www -d amaccis/php-libstemmer

Using docker-compose

version: '3.7'

services:
  php-fpm:
    image: amaccis/php-libstemmer
    working_dir: /var/www
    volumes:
      - ./:/var/www

About

Docker Alpine Linux environment with PHP onboard, its FFI extension enabled and the libstemmer compiled as a shared library.

License:MIT License


Languages

Language:Dockerfile 82.9%Language:Makefile 12.5%Language:Shell 4.6%