<commit_before>
# docker build -t $USER/ros-hydro .
# xhost +
# docker run -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -i -t $USER/ros-hydro /usr/bin/byobu
# xhost + is stupid and dangerous, so please run 'xhost -' after launching apps 
# docker export $USER/ros-hydro | gzip -c > /media/lenovo_mandeep/ros-hydro.tgz
# docker import $USER/ros-hydro < /media/lenovo_mandeep/ros-hydro.tgz
# echo 'DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"' \
# | sudo tee -a /etc/default/docker 

FROM ubuntu:12.04
MAINTAINER <NAME> "<EMAIL>"

RUN echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list && \
	apt-get -y update && \
    apt-get -y install python-software-properties wget byobu
RUN wget http://packages.ros.org/ros.key -O - | apt-key add - && \
    apt-get -y update 
RUN apt-get -y install ros-hydro-ros-base ros-hydro-rqt-common-plugins
RUN apt-get -y install ros-hydro-robot ros-hydro-viz
RUN apt-get -y install ros-hydro-mobile ros-hydro-perception ros-hydro-simulators

RUN rosdep init
RUN rosdep update
RUN echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc<commit_msg>testing with dev video0<commit_after>
# docker build -t $USER/ros-hydro .
# xhost +
# docker run -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -i -t $USER/ros-hydro /usr/bin/byobu
# docker run --rm -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -v /home/mandeep/docker-shared:/mnt -v /dev/video0:/dev/video0 --lxc-conf='lxc.cgroup.devices.allow = c 81:* rwm' -i -t opencog/ros-hydro /bin/bash
# docker run --rm -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -v /home/mandeep/docker-shared:/mnt -v /dev/video0:/dev/video0 --lxc-conf='lxc.cgroup.devices.allow = c 81:* rwm' --lxc-conf='lxc.mount.entry = /dev/video0 dev/video0 none bind,optional,create=file' -i -t opencog/ros-hydro /bin/bash
# xhost + is stupid and dangerous, so please run 'xhost -' after launching apps 
# camorama -d /dev/video0
# docker export $USER/ros-hydro | gzip -c > /media/lenovo_mandeep/ros-hydro.tgz
# docker import $USER/ros-hydro < /media/lenovo_mandeep/ros-hydro.tgz
# echo 'DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"' \
# | sudo tee -a /etc/default/docker 

FROM ubuntu:12.04
MAINTAINER <NAME> "<EMAIL>"

RUN echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list && \
	apt-get -y update && \
    apt-get -y install python-software-properties wget byobu
RUN wget http://packages.ros.org/ros.key -O - | apt-key add - && \
    apt-get -y update 
RUN apt-get -y install ros-hydro-ros-base ros-hydro-rqt-common-plugins
RUN apt-get -y install ros-hydro-robot ros-hydro-viz
RUN apt-get -y install ros-hydro-mobile ros-hydro-perception ros-hydro-simulators
RUN apt-get -y install camorama

RUN rosdep init
RUN rosdep update
RUN echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc
ENV DISPLAY "0:0"
CMD /bin/bash
{'fraction_non_alphanumeric': 0.16568047337278108, 'fraction_numerical': 0.021580229725026105, 'mean_word_length': 3.183406113537118, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1810318', 'n_tokens_mistral': 1243, 'n_tokens_neox': 1131, 'n_words': 264}