-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 776 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM node:6.9-slim
RUN curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
# Install git
RUN apt-get update && apt-get upgrade -y && apt-get install -y git bzip2 libfontconfig1 yarn nfs-common \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Prevent issues with private keys
RUN git config --global url."https://github.com".insteadOf ssh://git@github.com
# Install yarn
RUN npm install -g -q \
phantomjs-prebuilt \
marked@0.3.5 \
jshint@2.9.3 \
node-gyp@3.4.0 \
clean-css \
https://github.com/hellofresh/lentil.git#fix/add-missing-babel-eslint
# Rebuild node-sass to avoid
RUN npm -g -q rebuild node-sass