#5385 closed defect (fixed)
hacking installation instructions are incomplete for Debian Jessie
Reported by: | Loic Dachary | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | documentation | Keywords: | |
Cc: | Parent Tickets: |
Description
docker build -t mediagoblin - <<EOF
FROM debian:jessie
RUN apt-get update
RUN apt-get install -y git-core python python-dev python-lxml python-imaging python-virtualenv python-gst-1.0 libjpeg-dev autoconf nodejs npm nodejs-legacy
RUN apt-get install -y sudo
RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN adduser --disabled-password --gecos MediaGoblin --quiet mediagoblin
RUN cd /home/mediagoblin ; sudo -u mediagoblin git clone --recursive http://git.savannah.gnu.org/r/mediagoblin.git
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./bootstrap.sh
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./configure
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin make
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./bin/gmg dbupdate
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./runtests.sh
EOF
...
mediagoblin/tests/test_api.py EEEEEEEEEEEEEEEEEEEE
mediagoblin/tests/test_auth.py EE.
mediagoblin/tests/test_basic_auth.py ..E
mediagoblin/tests/test_celery_setup.py .
mediagoblin/tests/test_collections.py E
mediagoblin/tests/test_config.py ..
mediagoblin/tests/test_csrf_middleware.py EEE
mediagoblin/tests/test_edit.py EEEE
mediagoblin/tests/test_exif.py .....
mediagoblin/tests/test_globals.py .
mediagoblin/tests/test_legacy_api.py EE
mediagoblin/tests/test_messages.py E
mediagoblin/tests/test_metadata.py E
mediagoblin/tests/test_misc.py EEEE
mediagoblin/tests/test_modelmethods.py EEEEEEEEEEEEE
mediagoblin/tests/test_moderation.py EEEE
mediagoblin/tests/test_notifications.py EEE
mediagoblin/tests/test_oauth1.py EEEE
mediagoblin/tests/test_pdf.py s
mediagoblin/tests/test_persona.py .
mediagoblin/tests/test_piwigo.py E
mediagoblin/tests/test_pluginapi.py ...........
mediagoblin/tests/test_privileges.py EE
mediagoblin/tests/test_processing.py ..
mediagoblin/tests/test_reporting.py EEE
mediagoblin/tests/test_response.py ....
mediagoblin/tests/test_session.py .
mediagoblin/tests/test_sql_migrations.py .
mediagoblin/tests/test_staticdirect.py .
mediagoblin/tests/test_storage.py .............
mediagoblin/tests/test_tags.py E
mediagoblin/tests/test_timesince.py .
mediagoblin/tests/test_util.py ........
mediagoblin/tests/test_workbench.py .....
Attachments (1)
Change History (8)
by , 9 years ago
Attachment: | buildfail.txt added |
---|
comment:1 by , 9 years ago
Owner: | set to |
---|---|
Status: | new → in_progress |
comment:2 by , 9 years ago
Better results with:
- apt-get install -y libgstreamer1.0-dev libgstreamer1.0-0-dbg libgstreamer1.0-0 gstreamer1.0-tools gstreamer-tools gstreamer1.0-doc gstreamer1.0-x libgstreamer-plugins-base1.0-dev
- ./bin/python setup.py develop
- ./bin/pip install numpy
probably installing more than necessary, need to trim when done.
comment:3 by , 9 years ago
The following passes:
docker build -t mediagoblin-test - <<EOF
FROM debian:jessie
RUN apt-get update
RUN apt-get install -y git-core python python-dev python-lxml python-imaging python-virtualenv libjpeg-dev autoconf nodejs npm nodejs-legacy
RUN apt-get install -y python-gst-1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-libav python-numpy python-scipy libsndfile1-dev libasound2-dev libgstreamer-plugins-base1.0-dev
RUN apt-get install -y sudo
RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN adduser --disabled-password --gecos MediaGoblin --quiet mediagoblin
RUN cd /home/mediagoblin ; sudo -u mediagoblin git clone --recursive http://git.savannah.gnu.org/r/mediagoblin.git
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./bootstrap.sh
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./configure
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin make
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./bin/gmg dbupdate
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./bin/pip install scikits.audiolab
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./runtests.sh
EOF
comment:4 by , 9 years ago
Owner: | removed |
---|---|
Resolution: | → fixed |
Status: | in_progress → closed |
Updated the hacking wiki page : https://wiki.mediagoblin.org/index.php?title=HackingHowto&diff=1751&oldid=1710
comment:5 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → accepted |
comment:6 by , 9 years ago
Owner: | set to |
---|---|
Status: | accepted → in_progress |
comment:7 by , 9 years ago
Owner: | removed |
---|---|
Resolution: | → fixed |
Status: | in_progress → closed |
full output of the docker command