Commit c20cdfed authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents eb1337bc 9bf85a69
FROM debian:jessie
MAINTAINER Noosfero Development Team <[email protected]>
RUN apt-get update && apt-get install -y sudo git
RUN git clone --depth 1 https://gitlab.com/noosfero/noosfero.git /var/tmp/noosfero
RUN cd /var/tmp/noosfero && ./script/set-apt-proxy
RUN echo 'LANG=C.UTF-8' > /etc/default/locale
RUN cd /var/tmp/noosfero && mkdir -p locale && ./script/quick-start
RUN rm -rf /var/tmp/noosfero
RUN apt-get clean
RUN rm -f /etc/apt/apt.conf.d/01proxy
COPY ./build /srv/build
RUN /srv/build
#!/bin/sh
set -ex
# system-wide setup
echo 'LANG=C.UTF-8' > /etc/default/locale
# get code
apt-get update
apt-get install -y sudo git
git clone --depth 1 https://gitlab.com/noosfero/noosfero.git /var/tmp/noosfero
# install everything
cd /var/tmp/noosfero
./script/set-apt-proxy
mkdir -p locale
./script/quick-start
# cleanup
cd /
rm -rf /var/tmp/noosfero
apt-get clean
rm -f /etc/apt/apt.conf.d/01proxy
rm -rf /var/lib/apt/lists/*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment