1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

fix dockerfile

This commit is contained in:
Sylvain 2018-11-26 09:44:40 +01:00
parent 0c63405b4d
commit cf3215eeac
2 changed files with 11 additions and 3 deletions

View File

@ -4,7 +4,7 @@
- Now using Yarn instead of deprecated Bower as the front-end dependencies manager
- Migrated front-end application from CoffeeScript to ECMAScript 6 (JS)
- Integration of Eslint and Rubocop coding rules
- Fix a bug: on small screens, display of button "change group" overflow
- Fix a bug: on small screens, display of button "change group" overflows
## v2.6.7 2018 October 4

View File

@ -1,10 +1,18 @@
FROM ruby:2.3
MAINTAINER peng@sleede.com
# First we need to be able to fetch from https repositories
RUN apt-get update && \
apt-get install -y apt-transport-https \
ca-certificates
# Add sources for external tools to APT
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
RUN echo "deb https://deb.nodesource.com/node_10.x jessie main" > /etc/apt/sources.list.d/nodesource.list
RUN echo "deb-src https://deb.nodesource.com/node_10.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
# Install apt based dependencies required to run Rails as
# well as RubyGems. As the Ruby image itself is based on a