Skip to content

philomena-dev/fiberglass

 
 

Repository files navigation

fiberglass

Warning

This is a legacy project and won't receive any updates! It is provided as-is with intent to be used by Philomena versions 1.2 and older.

It has been superceded by mediaproc, whose production image you may find here

Docker-insulated image processing libraries for Philomena

Rationale

Keeping up to date with bugfixes and improvements in image processing programs can be difficult if the operating system you run has not yet published a new version. Fiberglass makes it easy to install these programs on a production server (only Docker or Podman is required).

Fiberglass also helps to minimize the available attack surface to RCE takeover, DoS, and RFIs in the event of a full program compromise:

  • No host paths are mounted in the volume beyond the Docker defaults
  • PIDs are restricted to 128 inside the spawned container
  • CPU core access is restricted to 8 for the spawned container
  • Memory access is restricted to 4GB for the spawned container
  • No network interface is created for the spawned container
  • Output is buffered, not streamed

Provided programs

  • convert
  • identify
  • jpegtran
  • gifsicle
  • optipng
  • ffmpeg
  • ffprobe
  • file
  • image-intensities
  • mediastat
  • safe-rsvg-convert
  • magick

About

LEGACY PROJECT: Insulation for image processing libraries

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Ruby 58.8%
  • Dockerfile 36.9%
  • Shell 4.3%