├── README.md ├── Dockerfile └── LICENSE /README.md: -------------------------------------------------------------------------------- 1 | docker-fgallery 2 | =============== 3 | 4 | A Dockerfile for installing fgallery. 5 | 6 | fgallery is a static image gallery generation script, it takes images from a directory and generates a static HTML page 7 | with the images displayed in a slideshow. It can be found at: 8 | 9 | http://www.thregr.org/~wavexx/software/fgallery/ 10 | 11 | Usage 12 | ----- 13 | 14 | To use this image, just do: 15 | 16 | docker build -t stavrosk/fgallery . 17 | docker run -i -v :/fgallery/gallery/ -t stavrosk/fgallery 18 | 19 | That will mount "mountpath" in the container and allow you to run fgallery on it. Just move the output directory to 20 | mountpath when done, and you'll have the resulting gallery ready to use. 21 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:jammy 2 | 3 | ARG DEBIAN_FRONTEND=noninteractive 4 | RUN apt-get -y update 5 | RUN apt-get -y install imagemagick exiftran zip liblcms2-utils libimage-exiftool-perl libjson-perl libjson-xs-perl jpegoptim pngcrush p7zip python3-opencv libopencv-dev unp unzip fish wget python3-numpy 6 | 7 | RUN wget --no-check-certificate http://www.thregr.org/~wavexx/software/fgallery/releases/fgallery-LATEST.zip 8 | RUN unp fgallery-LATEST.zip 9 | RUN rm fgallery-LATEST.zip 10 | RUN mv fgallery-* fgallery 11 | 12 | VOLUME ["/fgallery/gallery/"] 13 | WORKDIR /fgallery/ 14 | 15 | RUN wget --no-check-certificate https://github.com/wavexx/facedetect/archive/master.zip 16 | RUN unzip -p master.zip facedetect-master/facedetect > /usr/bin/facedetect 17 | RUN chmod +x /usr/bin/facedetect 18 | 19 | CMD ["/bin/bash"] 20 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Stavros Korokithakis 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------