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
5
5
ENV RAILS_ENV=test
6
6
7
7
# 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
12
9
13
10
# 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
18
13
19
14
# Add the wait-for-it.sh script for waiting on dependent containers
20
15
RUN 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
31
31
rspec
32
32
33
33
BUNDLED WITH
34
- 1.15.1
34
+ 2.6.9
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ services:
17
17
environment :
18
18
PGHOST : db
19
19
PGUSER : postgres
20
+ PGPASSWORD : postgres
20
21
REDIS_URL : redis://redis
21
22
MEMCACHE_SERVERS : memcache
22
23
# CI envs
@@ -36,9 +37,12 @@ services:
36
37
37
38
db :
38
39
image : postgres
40
+ environment :
41
+ POSTGRES_USER : postgres
42
+ POSTGRES_PASSWORD : postgres
39
43
40
44
redis :
41
45
image : redis
42
46
43
47
memcache :
44
- image : tutum/ memcached
48
+ image : memcached:latest
You can’t perform that action at this time.
0 commit comments