mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-21 01:27:01 +02:00
b113da5d19
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> |
||
---|---|---|
.. | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
vnc2flv
Vnc2flv is a cross-platform screen recording tool for UNIX, Windows or Mac. It captures a VNC desktop session (either your own screen or a remote computer) and saves as a Flash Video (FLV) file.
This docker image works very well with selenium/standalone-firefox-debug.
docker-compose.yml
vnc2flv:
image: vimagick/vnc2flv
command: -P /pwdfile -o record.flv localhost 5900
volumes:
- ./pwdfile:/pwdfile
- ./data:/data
net: host
stop_signal: SIGINT
Up and Running
# Create passwd file
$ echo secret > pwdfile
# Start recording
$ docker-compose up -d
# Stop recording
$ docker-compose stop
# View logs
$ docker-compose logs
Attaching to vnc2flv_vnc2flv_1
vnc2flv_1 | start recording
vnc2flv_1 | stop recording