-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 800 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM node:6.9-slim
# Install deps
RUN apt-get update && \
apt-get install -y 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 git bzip2 libfontconfig1 yarn make && \
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