aerokube / images

Browser images for Selenoid and Moon 1.x
https://aerokube.com/images/latest/
Apache License 2.0
167 stars 125 forks source link

image build fails #666

Closed linjin-harvey closed 7 months ago

linjin-harvey commented 7 months ago

Command: ./images chrome -b https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_120.0.6099.109-1_amd64.deb -d 120.0.6099.109 -t selenoid/chrome:120.0

Error:

The following additional packages will be installed:
  libucl1
The following NEW packages will be installed:
  libucl1 upx-ucl
0 upgraded, 2 newly installed, 0 to remove and 36 not upgraded.
Need to get 438 kB of archives.
After this operation, 2137 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libucl1 amd64 1.03+repack-6 [27.1 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 upx-ucl amd64 3.96-2 [411 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 438 kB in 1s (331 kB/s)
Selecting previously unselected package libucl1:amd64.
(Reading database ... 15718 files and directories currently installed.)
Preparing to unpack .../libucl1_1.03+repack-6_amd64.deb ...
Unpacking libucl1:amd64 (1.03+repack-6) ...
Selecting previously unselected package upx-ucl.
Preparing to unpack .../upx-ucl_3.96-2_amd64.deb ...
Unpacking upx-ucl (3.96-2) ...
Setting up libucl1:amd64 (1.03+repack-6) ...
Setting up upx-ucl (3.96-2) ...
update-alternatives: error: no alternatives for upx
update-alternatives: using /usr/bin/upx-ucl to provide /usr/bin/upx (upx) in auto mode
Processing triggers for libc-bin (2.31-13+deb11u5) ...
go: github.com/aandryashin/matchers@v0.0.0-20161126170413-435295ea180e: Get "https://proxy.golang.org/github.com/aandryashin/matchers/@v/v0.0.0-20161126170413-435295ea180e.mod": x509: certificate signed by unknown authority
go: downloading github.com/mafredri/cdp v0.23.4
go: downloading github.com/aandryashin/matchers v0.0.0-20161126170413-435295ea180e
go: downloading github.com/gorilla/websocket v1.4.2
go: github.com/aandryashin/matchers@v0.0.0-20161126170413-435295ea180e: Get "https://proxy.golang.org/github.com/aandryashin/matchers/@v/v0.0.0-20161126170413-435295ea180e.mod": x509: certificate signed by unknown authority
The command '/bin/sh -c apt-get update &&     apt-get install -y upx-ucl &&     cd /devtools &&     go test -race &&     GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" &&     upx /devtools/devtools' returned a non-zero code: 1
2024/01/16 10:43:15 command error: build image: command execution error: exit status 1

Error screenshot: image

Source code: https://github.com/aerokube/images/blob/master/static/chrome/Dockerfile#L8