2019-11-17 10:04:58 +00:00
|
|
|
FROM node:5.6.0
|
2018-04-01 13:01:54 +00:00
|
|
|
|
2018-04-09 08:21:34 +00:00
|
|
|
MAINTAINER Stefan Hoffmann <stefan@freifunk-troisdorf.de>
|
|
|
|
|
|
|
|
# Install Yarn
|
|
|
|
RUN apt-get update && apt-get install -y curl apt-transport-https && \
|
|
|
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
|
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
|
|
|
apt-get update && apt-get install -y yarn
|
|
|
|
|
|
|
|
# Install Grunt
|
|
|
|
RUN npm install --global grunt-cli && \
|
|
|
|
apt-get install -y ruby ruby-dev && \
|
|
|
|
gem install --no-rdoc --no-ri sass -v 3.4.22 && \
|
|
|
|
gem install --no-rdoc --no-ri compass
|
|
|
|
|
|
|
|
# Build Meshviewer
|
2018-04-10 20:04:51 +00:00
|
|
|
#RUN git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer/
|
2018-04-09 08:21:34 +00:00
|
|
|
|
2018-04-10 20:04:51 +00:00
|
|
|
#RUN npm install gulp -D && \
|
2018-04-10 20:08:04 +00:00
|
|
|
# yarn && \
|
|
|
|
# yarn global add gulp-cli
|
2018-04-09 08:21:34 +00:00
|
|
|
|
2018-04-09 14:05:50 +00:00
|
|
|
COPY start.sh /
|
|
|
|
RUN chmod +x /start.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
2019-11-17 10:04:58 +00:00
|
|
|
#RUN gulp
|