forked from dapphub/dapple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (22 loc) · 942 Bytes
/
Dockerfile
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
FROM ubuntu:15.10
# Install Node.js
RUN apt-get update && apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash
RUN apt-get update && apt-get install -y nodejs
# Install Solidity
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:ethereum/ethereum
RUN add-apt-repository ppa:ethereum/ethereum-qt
RUN apt-get update && apt-get install -y cpp-ethereum
# Avoid su(1) and sudo(1) due to signal and TTY weirdness
RUN curl -fsSL https://github.com/tianon/gosu/releases/download/1.7/\
gosu-`dpkg --print-architecture` -o /bin/gosu && chmod +x /bin/gosu
# Install editors for convenience
RUN apt-get update && apt-get install -y emacs vim
# Install Dapple
RUN apt-get update && apt-get install -y git build-essential python
COPY package.json /dapple/package.json
RUN cd dapple && npm install
ENTRYPOINT ["/dapple/docker-entrypoint"]
COPY . /dapple
RUN cd dapple && npm link