diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index 9fe1b7f..17847a3 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -1716,6 +1716,22 @@ Linuxbrew is a package manager for Linux. It is the Linux version of MacOS Homeb +
+ +## Install FFMPEG + +To install FFMPEG in the Workspace container + +1 - Open the `.env` file + +2 - Search for the `WORKSPACE_INSTALL_FFMPEG` argument under the Workspace Container and set it to `true` + +3 - Re-build the container `docker-compose build workspace` + + + + +
diff --git a/docker-compose.yml b/docker-compose.yml index a924b49..afb9f7e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -109,6 +109,7 @@ services: - BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID} - BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN} - INSTALL_POWERLINE=${WORKSPACE_INSTALL_POWERLINE} + - INSTALL_FFMPEG=${WORKSPACE_INSTALL_FFMPEG} volumes: - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG} extra_hosts: diff --git a/env-example b/env-example index ffb94c3..a39d8e7 100644 --- a/env-example +++ b/env-example @@ -139,6 +139,7 @@ WORKSPACE_PGID=1000 WORKSPACE_CHROME_DRIVER_VERSION=2.42 WORKSPACE_TIMEZONE=UTC WORKSPACE_SSH_PORT=2222 +WORKSPACE_INSTALL_FFMPEG=false ### PHP_FPM ############################################### diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 8f8e23f..56a1dd4 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -990,6 +990,18 @@ RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \ apt-get -y install mysql-client \ ;fi +########################################################################### +# FFMpeg: +########################################################################### + +USER root + +ARG INSTALL_FFMPEG=false + +RUN if [ ${INSTALL_FFMPEG} = true ]; then \ + apt-get -y install ffmpeg \ +;fi + ########################################################################### # Check PHP version: ###########################################################################