File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
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 @@ -17,6 +17,7 @@ services:
1717 environment :
1818 PGHOST : db
1919 PGUSER : postgres
20+ PGPASSWORD : postgres
2021 REDIS_URL : redis://redis
2122 MEMCACHE_SERVERS : memcache
2223 # CI envs
@@ -36,9 +37,12 @@ services:
3637
3738 db :
3839 image : postgres
40+ environment :
41+ POSTGRES_USER : postgres
42+ POSTGRES_PASSWORD : postgres
3943
4044 redis :
4145 image : redis
4246
4347 memcache :
44- image : tutum/ memcached
48+ image : memcached:latest
You can’t perform that action at this time.
0 commit comments