Skip to content

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

License

Notifications You must be signed in to change notification settings

amaccis/docker-php-libstemmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published