Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sharom opened this issue Mar 29, 2019 · 6 comments

Comments

@Sharom
Copy link

Sharom commented Mar 29, 2019

No description provided.

@Sharom Sharom changed the title An image with Chrome and or Firefox would be very convenient for testing purpose An image with Chrome and/or Firefox would be very convenient for testing purpose Mar 29, 2019
@jonasfj
Copy link
Member

jonasfj commented Mar 29, 2019

Probably also xvfb, etc...

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

@Sharom
Copy link
Author

Sharom commented Apr 1, 2019

Probably also xvfb, etc...

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

GitLab CI

@terrier989
Copy link

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

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

@gmpassos
Copy link

gmpassos commented Jun 8, 2020

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.

@mit-mit mit-mit transferred this issue from dart-archive/dart_docker Jun 2, 2021
@mit-mit
Copy link
Member

mit-mit commented Jun 2, 2021

Transferred to new repo for official image

@Isakdl
Copy link

Isakdl commented Jun 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants