Giter Site home page Giter Site logo

Comments (5)

karelmaxa avatar karelmaxa commented on June 9, 2024 1

The issue cannot be easily fixed in this moment. We need Chrome / Chromium for FE tests executed through Puppeteer. Puppeteer itself is not able to install arm64 based Chromium (see puppeteer/puppeteer#7740). So i tried to install Chrome / Chromium in project-build Docker stage manually but there are some issues :

  • Ubuntu-based (version 22.04) Docker Image (3.8.7-eclipse-temurin-17)
    • Chromium –⁠ version installed from the official Ubuntu repository cannot be executed because it requires snap (Error: Command '/usr/bin/chromium-browser' requires the chromium snap to be installed), but snap is not working in Docker environment
    • Chrome –⁠ Chrome for Ubuntu 22.04 and arm64 architecture is not available (the latest supported version was published for Ubuntu 18.04)
  • Alpine-based Docker Image (3.8.7-eclipse-temurin-17-alpine)

There are some third-party repositories with prebuilt Chrome browser for Ubuntu 22.04 and arm64 architecture but there is no guarantee of stability.

from wrenidm.

karelmaxa avatar karelmaxa commented on June 9, 2024

Fix in #138.

from wrenidm.

karelmaxa avatar karelmaxa commented on June 9, 2024

Issue is still not fixed because Maven's Alpine-based Docker image is not available for arm64.

from wrenidm.

pavelhoral avatar pavelhoral commented on June 9, 2024

As this is only issue for the build stage I think we can go for Debian's Slim image and use OpenJDK package instead of Temurin. I hope there shouldn't be a problem with Chromium / Snap as well.

from wrenidm.

karelmaxa avatar karelmaxa commented on June 9, 2024

Fixed in #146. We are using Debian's Slim image with manually installed OpenJDK, Maven and Chromium. Docker Image is buildable on Apple's M1 chip.

from wrenidm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.