Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,23 @@
#
# VERSION 0.1

FROM debian:jessie-slim
MAINTAINER Richard North <[email protected]>

LABEL Description="This image can be used to create a sidekick container for recording videos of VNC sessions hosted in other containers"
FROM debian:stretch-slim as build_image

RUN apt-get update && apt-get install -y \
python-pip python-dev \
&& rm -rf /var/lib/apt/lists/*

RUN pip install pyinstaller
RUN pip install vnc2flv

ENTRYPOINT ["flvrec.py"]
RUN PYTHONOPTIMIZE=1 pyinstaller --onedir --distpath /tmp/flvrec /usr/local/bin/flvrec.py

FROM debian:stretch-slim
MAINTAINER Richard North <[email protected]>

LABEL Description="This image can be used to create a sidekick container for recording videos of VNC sessions hosted in other containers"

COPY --from=build_image /tmp/flvrec /usr

ENTRYPOINT ["/usr/flvrec/flvrec"]
CMD ["--help"]