Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Copyright (C) Sam Parkinson 2015
#
# This file is part of ASLO.
#
# ASLO is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ASLO 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with ASLO. If not, see <http://www.gnu.org/licenses/>.
FROM fedora:22
RUN dnf install -y \
git \
gettext # required by sugar toolkit
RUN git clone --depth=1 https://github.com/sugarlabs/sugar-toolkit-gtk3; \
mv sugar-toolkit-gtk3/src/sugar3 /usr/lib/python2.7/site-packages/sugar3; \
rm -rf sugar-toolkit-gtk3
# Sugar lib (gtk2) dosn't seem to install properly
# So we add a link that makes it sugar3
RUN rm -rf /usr/lib/python2.7/site-packages/sugar; \
ln -s /usr/lib/python2.7/site-packages/sugar3 /usr/lib/python2.7/site-packages/sugar
VOLUME /activity
WORKDIR /activity
CMD python /activity/setup.py dist_xo --no-fail; \
chmod 777 /activity/*; \
rm -rf /activity/locale