Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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)

buildfail.txt (104.0 KB ) - added by Loic Dachary 9 years ago.
full output of the docker command

Download all attachments as: .zip

Change History (8)

by Loic Dachary, 9 years ago

Attachment: buildfail.txt added

full output of the docker command

comment:1 by Loic Dachary, 9 years ago

Owner: set to Loic Dachary
Status: newin_progress

comment:2 by Loic Dachary, 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.

mediagoblin/tests/test_api.py ....................
mediagoblin/tests/test_auth.py ...
mediagoblin/tests/test_basic_auth.py ...
mediagoblin/tests/test_celery_setup.py .
mediagoblin/tests/test_collections.py .
mediagoblin/tests/test_config.py ..
mediagoblin/tests/test_csrf_middleware.py ...
mediagoblin/tests/test_edit.py ....
mediagoblin/tests/test_exif.py .....
mediagoblin/tests/test_globals.py .
mediagoblin/tests/test_legacy_api.py ..
mediagoblin/tests/test_messages.py .
mediagoblin/tests/test_metadata.py .
mediagoblin/tests/test_misc.py ....
mediagoblin/tests/test_modelmethods.py .............
mediagoblin/tests/test_moderation.py ....
mediagoblin/tests/test_notifications.py ...
mediagoblin/tests/test_oauth1.py ....
mediagoblin/tests/test_pdf.py s
mediagoblin/tests/test_persona.py .
mediagoblin/tests/test_piwigo.py .
mediagoblin/tests/test_pluginapi.py ...........
mediagoblin/tests/test_privileges.py ..
mediagoblin/tests/test_processing.py ..
mediagoblin/tests/test_reporting.py ...
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_submission.py ....s............FFF..
mediagoblin/tests/test_tags.py .
mediagoblin/tests/test_timesince.py .
mediagoblin/tests/test_util.py ........
mediagoblin/tests/test_video.py .F
mediagoblin/tests/test_workbench.py .....

Last edited 9 years ago by Loic Dachary (previous) (diff)

comment:3 by Loic Dachary, 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/python setup.py develop
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./bin/pip install scikits.audiolab
RUN cd /home/mediagoblin/mediagoblin ; sudo -u mediagoblin ./runtests.sh
EOF

Version 0, edited 9 years ago by Loic Dachary (next)

comment:4 by Loic Dachary, 9 years ago

Owner: Loic Dachary removed
Resolution: fixed
Status: in_progressclosed

comment:5 by Loic Dachary, 9 years ago

Resolution: fixed
Status: closedaccepted

comment:6 by Loic Dachary, 9 years ago

Owner: set to Loic Dachary
Status: acceptedin_progress

comment:7 by Loic Dachary, 9 years ago

Owner: Loic Dachary removed
Resolution: fixed
Status: in_progressclosed
Note: See TracTickets for help on using tickets.