Installation of ffmpeg (#2078)
* Install ffmpeg in workspace. * Documented the process for install ffmpeg.
This commit is contained in:
parent
95965b12e7
commit
a03c225e27
@ -1716,6 +1716,22 @@ Linuxbrew is a package manager for Linux. It is the Linux version of MacOS Homeb
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<a name="Install-FFMPEG"></a>
|
||||||
|
## 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`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<a name="Common-Aliases"></a>
|
<a name="Common-Aliases"></a>
|
||||||
|
@ -109,6 +109,7 @@ services:
|
|||||||
- BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
|
- BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
|
||||||
- BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN}
|
- BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN}
|
||||||
- INSTALL_POWERLINE=${WORKSPACE_INSTALL_POWERLINE}
|
- INSTALL_POWERLINE=${WORKSPACE_INSTALL_POWERLINE}
|
||||||
|
- INSTALL_FFMPEG=${WORKSPACE_INSTALL_FFMPEG}
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG}
|
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG}
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
|
@ -139,6 +139,7 @@ WORKSPACE_PGID=1000
|
|||||||
WORKSPACE_CHROME_DRIVER_VERSION=2.42
|
WORKSPACE_CHROME_DRIVER_VERSION=2.42
|
||||||
WORKSPACE_TIMEZONE=UTC
|
WORKSPACE_TIMEZONE=UTC
|
||||||
WORKSPACE_SSH_PORT=2222
|
WORKSPACE_SSH_PORT=2222
|
||||||
|
WORKSPACE_INSTALL_FFMPEG=false
|
||||||
|
|
||||||
### PHP_FPM ###############################################
|
### PHP_FPM ###############################################
|
||||||
|
|
||||||
|
@ -990,6 +990,18 @@ RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
|
|||||||
apt-get -y install mysql-client \
|
apt-get -y install mysql-client \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# FFMpeg:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_FFMPEG=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_FFMPEG} = true ]; then \
|
||||||
|
apt-get -y install ffmpeg \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Check PHP version:
|
# Check PHP version:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user