-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 801 Bytes
/
Dockerfile
File metadata and controls
31 lines (26 loc) · 801 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
25
26
27
28
29
30
31
FROM node:9.5-alpine
MAINTAINER kimgault <kimmygault@gmail.com>
ENV GITCRYPT_VERSION 0.5.0-2
ENV TZ America/Los_Angeles
# openssh needed for CircleCI
RUN apk --update add tzdata \
jq \
zip \
g++ \
git \
make \
curl \
rsync \
python \
openssh \
openssl-dev \
mongodb-tools \
&& rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/$TZ /etc/localtime
RUN echo $TZ > /etc/timezone
RUN yarn global add lerna@3.16.4 --ignore-engines
RUN yarn global add serverless@1.19.0 --ignore-engines
RUN yarn config set workspaces-experimental true
RUN curl -L https://github.com/AGWA/git-crypt/archive/debian/$GITCRYPT_VERSION.tar.gz | tar zxv -C /var/tmp
RUN cd /var/tmp/git-crypt-debian-$GITCRYPT_VERSION && make && make install PREFIX=/usr/local
CMD ["/bin/sh"]