dart-docker icon indicating copy to clipboard operation
dart-docker copied to clipboard

An image with Chrome and/or Firefox would be very convenient for testing purpose

Open Sharom opened this issue 6 years ago • 6 comments

Sharom avatar Mar 29 '19 15:03 Sharom

Probably also xvfb, etc...

I'm curious what CI system would you be running these in?

jonasfj avatar Mar 29 '19 16:03 jonasfj

Probably also xvfb, etc...

I'm curious what CI system would you be running these in?

GitLab CI

Sharom avatar Apr 01 '19 09:04 Sharom

Fixing this issue would also make use of Github Actions more convenient.

The Github Actions starter workflow for Dart projects uses 'google/dart' image.

terrier989 avatar Sep 14 '19 21:09 terrier989

Is VERY important to have a docker image with Dart and Chrome (or Firefox), so we can run tests on it (basic for any CI).

The oficial dart image (google/dart) is complicated and slow to have a browser on it, running headless.

gmpassos avatar Jun 08 '20 04:06 gmpassos

Transferred to new repo for official image

mit-mit avatar Jun 02 '21 12:06 mit-mit

It would be great if there was a premade image for this but not too hard to create one yourself.

I'm using Firefox here because I ran into loads of issues with Chrome on a MacBook with an m2 processor (seems like there is no arm64 support).

FROM dart:3.2.5

RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list.d/debian.list
RUN apt-get update
RUN apt-get install --fix-missing -y xvfb  

RUN apt-get install -y --no-install-recommends firefox

Isakdl avatar Jun 04 '24 13:06 Isakdl