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

image build fails #666

Closed
linjin-harvey opened this issue Jan 16, 2024 · 0 comments
Closed

image build fails #666

linjin-harvey opened this issue Jan 16, 2024 · 0 comments

Comments

@linjin-harvey
Copy link

linjin-harvey commented Jan 16, 2024

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/[email protected]: 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/[email protected]: 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

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

No branches or pull requests

1 participant