Sign inSign up

ashwani99/moboff

By ashwani99

Updated about 8 years ago

A command line tool to add your music and videos directly to several devices.

Image
0

205

ashwani99/moboff repository overview

MobOff Docker Image

Check the GitHub repository here https://github.com/Parth-Vader/MobOff

How to use this image

Create a Dockerfile in the main project directory

FROM ubuntu

# set up timezone
RUN echo "America/New_York" > /etc/timezone

# install required packages
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    python3 \
    python3-dev \
    python3-pip \
    ffmpeg python3-tk \
    git-core \
&& rm -rf /var/lib/apt/lists/*

# setup locales and language to utf-8
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8

# clone moboff repository
RUN git clone https://github.com/Parth-Vader/MobOff.git

# install setuptools
RUN pip3 install setuptools

# change working directory to MobOff
WORKDIR /MobOff

# run the installation script
RUN python3 setup.py install

# run bash
CMD ["/bin/bash"]

Run the following commands

# build the docker image
$ docker build -t moboff .

# disable access control for X11 server
$ xhost +

# run the container
$ docker run --it -e DISPLAY=$DISPLAY \
             -v /tmp/.X11-unix:/tmp/.X11-unix \
             moboff

# run moboff
$ moboff

# press Ctrl+C to stop the running container

Tag summary

Content type

Image

Digest

Size

181.7 MB

Last updated

about 8 years ago

docker pull ashwani99/moboff