Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Use web base docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored and fusion-bot[bot] committed Jan 11, 2018
1 parent ef025a6 commit ed05e4a
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 433 deletions.
8 changes: 0 additions & 8 deletions .buildkite/xvfb_daemon_run

This file was deleted.

23 changes: 0 additions & 23 deletions .buildkite/xvfb_init

This file was deleted.

12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
FROM node:8.9.0
FROM uber/web-base-image:1.0.0

WORKDIR /fusion-plugin-universal-events

# Install electron dependencies.
ENV DISPLAY :99
ADD .buildkite/xvfb_init /etc/init.d/xvfb
ADD .buildkite/xvfb_daemon_run /usr/bin/xvfb-daemon-run

RUN dpkg --add-architecture i386
RUN apt-get update
RUN apt-get -y install libgtk2.0-dev libx11-xcb-dev libgtkextra-dev libgconf2-dev libnss3 libasound2 libxtst-dev libxss1 xvfb && \
chmod a+x /etc/init.d/xvfb /usr/bin/xvfb-daemon-run

COPY . .

RUN yarn
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"nyc": "^11.3.0",
"prettier": "1.8.2",
"tape-cup": "^4.7.1",
"unitest": "^1.1.0"
"unitest": "^2.1.1"
},
"peerDependencies": {
"fusion-core": "^0.2.3"
Expand Down
Loading

0 comments on commit ed05e4a

Please sign in to comment.