File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed
Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,11 @@ EXPOSE 5000
55ENV RAILS_ENV=test
66
77# Add official postgresql apt deb source
8- RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
9- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
10- && apt-get update \
11- && apt-get install -y postgresql-client-10
8+ RUN apt-get update && apt-get install -y postgresql-client
129
1310# Node, needed for asset pipeline
14- RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - \
15- && apt-get update \
16- && apt-get install -y nodejs \
17- && npm install -q -g npm
11+ RUN apt-get update \
12+ && apt-get install -y nodejs npm
1813
1914# Add the wait-for-it.sh script for waiting on dependent containers
2015RUN curl https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /usr/local/bin/wait-for-it.sh \
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ DEPENDENCIES
3131 rspec
3232
3333BUNDLED WITH
34- 1.15.1
34+ 2.6.9
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ services:
3232 BUILDKITE_BUILD_NUMBER :
3333 ports :
3434 - " 5000:5000"
35- entrypoint : wait-for-it.sh db:5432 -s -- wait-for-it.sh redis:6379 -s -- wait-for-it.sh memcache:11211 -s --
35+ entrypoint : wait-for-it.sh db:5432 -t 30 - s -- wait-for-it.sh redis:6379 -t 15 - s -- wait-for-it.sh memcache:11211 -t 15 -s --
3636
3737 db :
3838 image : postgres
@@ -41,4 +41,4 @@ services:
4141 image : redis
4242
4343 memcache :
44- image : tutum/ memcached
44+ image : memcached:latest
You can’t perform that action at this time.
0 commit comments