Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

[🚀 Feature]: multi arch build or merge in SeleniumHQ/docker-selenium #2

Closed
@viktorianer

Description

@viktorianer

Feature and motivation

As I mentioned in the #1, I would like to use this image not only on arm64 platform, but also on amd64 based arch, in order to make it useful in docker-compose.yml file/projects.

In general, I would love to have this changes at SeleniumHQ#1076. But, I do not know how to help here.

I can see the images from https://github.com/sj26/docker-selenium, they are build for arm and amd. https://hub.docker.com/layers/seleniarm/node-chromium/4.0.0-beta-1-20210215/images/sha256-148f4749119f950d33229f0ec37eb772a55de97491b462830bffc46981d39869?context=explore

And these images we can use in our docker-compose.yml, without any hack. But they are not up-to-date. So, that why I am saying it would be better if these changes from here, would be included in https://github.com/SeleniumHQ/docker-selenium.

And thanks for this great work and effort! 👍🏼

Expected behaviour, when I use this image in docker-compose.yml:

version: '3.9'
services:
...
  selenium_hub:
    image: seleniarm/hub:4.0.0-beta-1-20210215
    ports:
      - 4442:4442
      - 4443:4443
      - 4444:4444

  chrome:
    image: seleniarm/node-chromium:4.0.0-beta-1-20210215
    shm_size: 2gb
    ports:
      - 5555:5555
    depends_on:
      - selenium_hub

It should build the services on arm and amd arch based host platform.

Note: the node-chromium:4.0.0-beta-1-20210215 image was build for multi arch.

Possible solutions:

Usage example with images from selenium

version: '3.9'
services:
...
  selenium_hub:
    image: selenium/hub:4
    ports:
      - 4442:4442
      - 4443:4443
      - 4444:4444

  chrome:
    image: docker pull selenium/node-chromium:4
    shm_size: 2gb
    ports:
      - 5555:5555
    depends_on:
      - selenium_hub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions