diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 00000000..fdf7e823
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,37 @@
+# freeseer - vga/presentation capture software
+#
+# Copyright (C) 2014 Free and Open Source Software Learning Centre
+# http://fosslc.org
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
sudo docker build -rm -t freeseer .+ + +Run +=== +To run the Freeseer docker image run the following command: + +
+sudo docker run -rm -p 3000:22 -i -t -v /home/username/git/freeseer/src:/freeseer freeseer + +OR + +sudo docker run -rm -p 3000:22 -i -t -privileged -v /dev/video0:/dev/video0 -v /dev/bus/usb:/dev/bus/usb -v /home/zxiiro/git/freeseer/src:/freeseer freeseer ++ +This will port forward the SSH port to your local port 3000 allowing you to connect to the docker image. +Use ssh -X root@localhost -p 3000 to connect. + +The paramenter -v source:destination will mount a local directory inside the docker image. You should use this +to mount your clone of your Freeseer repo inside the image. This will allow you to use your code from inside the image. + +If you need you mount a USB webcam adding the paramenters -privileged -v /dev/video0:/dev/video0 -v /dev/bus/usb:/dev/bus/usb +will allow you to see your USB webcam from inside the docker container. + diff --git a/docker/scripts/start-sshd.sh b/docker/scripts/start-sshd.sh new file mode 100644 index 00000000..aca354b1 --- /dev/null +++ b/docker/scripts/start-sshd.sh @@ -0,0 +1,40 @@ +# freeseer - vga/presentation capture software +# +# Copyright (C) 2014 Free and Open Source Software Learning Centre +# http://fosslc.org +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see