Thanks to visit codestin.com
Credit goes to github.com

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

Failed to build chrome beta image #427

@pavelsmolensky

Description

@pavelsmolensky

In order to build chrome beta image run build command

./images chrome --no-cache=false -b 93.0.4577.58-1 --channel=beta -d latest -t chrome-beta:93.0.4577.58

As a result, there will be an error:

�[91msed: can't read /opt/google/chrome/google-chrome: No such file or directory
�[0mThe command '/bin/sh -c curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &&         echo 'deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google.list &&         apt-get update &&         apt-get -y --no-install-recommends install iproute2 $PACKAGE=$VERSION &&         sed -i -e 's@exec -a "$0" "$HERE/chrome"@& --no-sandbox --disable-gpu@' /opt/google/chrome/google-chrome &&         chown root:root /opt/google/$INSTALL_DIR/chrome-sandbox &&         chmod 4755 /opt/google/$INSTALL_DIR/chrome-sandbox &&         google-chrome --version &&         rm -Rf /tmp/* && rm -Rf /var/lib/apt/lists/*' returned a non-zero code: 2
2021/08/26 17:18:06 command error: build dev image: command execution error: exit status 2

Caused by the fact that chrome-beta resides in a different directory:
/opt/google/chrome-beta/

Proposed fix: #426

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