Skip to content

Commit 5d9127d

Browse files
author
Mano Marks
authored
Merge pull request dockersamples#93 from BretFisher/result-test-fix-and-node-update
updating result app node version and fixing tests
2 parents a58579e + ddd39f1 commit 5d9127d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

result/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:5.11.0-slim
1+
FROM node:8.9-slim
22

33
WORKDIR /app
44

result/tests/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
FROM node
2-
RUN npm install -g phantomjs
1+
FROM node:8.9-slim
2+
RUN apt-get update -qq && apt-get install -qy \
3+
ca-certificates \
4+
bzip2 \
5+
curl \
6+
libfontconfig \
7+
--no-install-recommends
8+
RUN yarn global add phantomjs-prebuilt
39
ADD . /app
410
WORKDIR /app
511
CMD ["/app/tests.sh"]

0 commit comments

Comments
 (0)