aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/test
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2017-01-12 17:57:36 -0800
committerGravatar murgatroid99 <mlumish@google.com>2017-01-12 17:57:36 -0800
commit93d0b580a51af6e9c099164424040dfd4d6a71f3 (patch)
treec0adf8af857916dfa45df0903e2e6302621c259c /templates/tools/dockerfile/test
parentc518198d9adc423442082130dace7230b5df6e50 (diff)
Properly generate electron dependencies in test Dockerfile from template
Diffstat (limited to 'templates/tools/dockerfile/test')
-rw-r--r--templates/tools/dockerfile/test/node_jessie_x64/Dockerfile.template15
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/tools/dockerfile/test/node_jessie_x64/Dockerfile.template b/templates/tools/dockerfile/test/node_jessie_x64/Dockerfile.template
index 72b098f0c2..fa5c8c3816 100644
--- a/templates/tools/dockerfile/test/node_jessie_x64/Dockerfile.template
+++ b/templates/tools/dockerfile/test/node_jessie_x64/Dockerfile.template
@@ -28,10 +28,21 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+
FROM debian:jessie
-
+
<%include file="../../apt_get_basic.include"/>
+
+ # Install Electron apt dependencies
+ RUN apt-get update && apt-get install -y ${'\\'}
+ libasound ${'\\'}
+ libgconf-2-4 ${'\\'}
+ libgtk2.0-0 ${'\\'}
+ libnss3 ${'\\'}
+ libxss1 ${'\\'}
+ libxtst6 ${'\\'}
+ xvfb
+
<%include file="../../python_deps.include"/>
<%include file="../../node_deps.include"/>
<%include file="../../run_tests_addons.include"/>