File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,13 +40,12 @@ RUN echo "%git ALL=(ALL:ALL) NOPASSWD:/home/git/builder" >> /etc/sudoers
4040RUN wget -O /progrium_cedarish.tar --progress=dot:giga \
4141 https://s3-us-west-2.amazonaws.com/opdemand/progrium_cedarish_2014.05.27.tar
4242
43- # add the current build context to /app
44- ADD . /app
45- RUN chown -R root:root /app
46-
4743# define the execution environment
4844VOLUME /var/lib/docker
4945WORKDIR /app
5046ENTRYPOINT ["/app/bin/entry" ]
5147CMD ["/app/bin/boot" ]
5248EXPOSE 22
49+
50+ ADD . /app
51+ RUN chown -R root:root /app
Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ RUN apt-get update && apt-get install -yq python-software-properties
66RUN add-apt-repository ppa:chris-lea/redis-server -y
77RUN apt-get update && apt-get install -yq redis-server
88
9- # add the current build context to /app
10- ADD . /app
11-
12- # define the execution environment
139WORKDIR /app
1410CMD ["/app/bin/boot" ]
1511EXPOSE 6379
12+ ADD . /app
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ WORKDIR /app
3434ADD requirements.txt /app/requirements.txt
3535RUN pip install -r /app/requirements.txt
3636
37- # clone the project into /app
3837ADD . /app
3938
4039# Create static resources
Original file line number Diff line number Diff line change @@ -6,11 +6,9 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc
66RUN wget --quiet --no-check-certificate -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
77RUN apt-get update && apt-get install -yq postgresql-9.3 && /etc/init.d/postgresql stop
88
9- # add the current build context to /app
10- ADD . /app
11-
129# define the execution environment
1310VOLUME ["/var/lib/postgresql" ]
1411WORKDIR /app
1512CMD ["/app/bin/boot" ]
1613EXPOSE 5432
14+ ADD . /app
Original file line number Diff line number Diff line change @@ -9,17 +9,16 @@ RUN mkdir -p /go
99ENV GOPATH /go
1010ENV PATH /usr/local/bin:/usr/bin:/bin:/sbin:/usr/local/go/bin
1111
12- # add the current build context to /app
13- ADD . /app
14- ADD . /go/src/github.com/deis/deis/logger
15-
16- # compile the binary
17- RUN cd /go/src/github.com/deis/deis/logger/syslogd && go install -v .
18-
1912# create /var/log/deis for holding logs (access via bind mount)
2013RUN mkdir -p /var/log/deis
2114
2215# prepare execution environment
2316WORKDIR /app
2417CMD ["/app/bin/boot" ]
2518EXPOSE 514
19+
20+ ADD . /app
21+ ADD . /go/src/github.com/deis/deis/logger
22+
23+ # compile the binary
24+ RUN cd /go/src/github.com/deis/deis/logger/syslogd && go install -v .
Original file line number Diff line number Diff line change @@ -36,10 +36,8 @@ RUN mkdir -p /data/repositories && chown -R registry:registry /data
3636ENV STORAGE_PATH /data
3737VOLUME /data
3838
39- # add the current build context to /app
40- ADD . /app
41-
4239# define the execution environment
4340WORKDIR /app
4441CMD ["/app/bin/boot" ]
4542EXPOSE 5000
43+ ADD . /app
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN patch -p1 < /tmp/nginx_tcp_proxy_module-0.4.5/tcp.patch
1616RUN ./configure --prefix=/var/lib/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_spdy_module --with-http_sub_module --with-mail --with-mail_ssl_module --add-module=/tmp/nginx_tcp_proxy_module-0.4.5
1717RUN make && make install
1818
19- ADD . /app
2019WORKDIR /app
2120EXPOSE 80 2222
2221CMD ["/app/bin/boot" ]
22+ ADD . /app
You can’t perform that action at this time.
0 commit comments