Ryan Brown | 3061520 | 2014-07-01 14:49:23 -0700 | [diff] [blame] | 1 | FROM ubuntu |
| 2 | RUN apt-get update |
| 3 | RUN apt-get install -y curl git |
| 4 | ENV HOME /root |
Ryan Brown | 0d63aa2 | 2014-05-19 10:57:32 -0700 | [diff] [blame] | 5 | ENV VEYRON_ROOT /usr/local/veyron |
Ryan Brown | 3061520 | 2014-07-01 14:49:23 -0700 | [diff] [blame] | 6 | ADD netrc /root/.netrc |
| 7 | RUN curl -u veyron:D6HT]P,LrJ7e https://www.envyor.com/noproxy/veyron-setup.sh | bash |
| 8 | RUN /veyron/bin/veyron setup proximity |
| 9 | RUN rm /root/.netrc |
Ryan Brown | 0d63aa2 | 2014-05-19 10:57:32 -0700 | [diff] [blame] | 10 | |
| 11 | WORKDIR /usr/local/veyron/veyron |
Ryan Brown | 0d63aa2 | 2014-05-19 10:57:32 -0700 | [diff] [blame] | 12 | ENV PATH /usr/local/veyron/veyron/go/bin:/usr/local/veyron/veyron/scripts/build:/usr/local/bin:/usr/bin:/bin |
Ryan Brown | 3061520 | 2014-07-01 14:49:23 -0700 | [diff] [blame] | 13 | RUN go install veyron2/vdl/vdl veyron/tools/playground/builder |
| 14 | |
| 15 | RUN adduser --quiet --disabled-password playground |
Ryan Brown | 0d63aa2 | 2014-05-19 10:57:32 -0700 | [diff] [blame] | 16 | |
| 17 | USER playground |
| 18 | WORKDIR /home/playground |
| 19 | ENV GOPATH /home/playground |
Ryan Brown | 3061520 | 2014-07-01 14:49:23 -0700 | [diff] [blame] | 20 | ENTRYPOINT /usr/local/veyron/veyron/go/bin/builder |