SneakerBot icon indicating copy to clipboard operation
SneakerBot copied to clipboard

Docker update

Open meh-me opened this issue 2 years ago • 4 comments

Updated Dockerfile and changed commands in README for the updated commands

meh-me avatar Jun 01 '23 19:06 meh-me

@meh-me I am doing a fresh install locally and running into the following error:

 => ERROR [ 3/12] RUN apt-get update && apt-get install gnupg wget -y     && wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.  2.6s
------
 > [ 3/12] RUN apt-get update && apt-get install gnupg wget -y     && wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg     && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'     && apt-get update     && apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf     --no-install-recommends     && rm -rf /var/lib/apt/lists/*     && apt-get purge --auto-remove -y curl     && rm -rf /src/*.deb:
#0 0.411 Hit:1 http://deb.debian.org/debian bullseye InRelease
#0 0.411 Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
#0 0.415 Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
#0 0.651 Reading package lists...
#0 0.926 Reading package lists...
#0 1.171 Building dependency tree...
#0 1.260 Reading state information...
#0 1.342 gnupg is already the newest version (2.2.27-2+deb11u2).
#0 1.342 wget is already the newest version (1.21-1+deb11u1).
#0 1.342 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
#0 1.575 Hit:1 http://deb.debian.org/debian bullseye InRelease
#0 1.575 Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
#0 1.578 Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
#0 1.689 Get:4 http://dl.google.com/linux/chrome/deb stable InRelease [1825 B]
#0 1.949 Get:5 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1079 B]
#0 1.961 Fetched 2904 B in 0s (6973 B/s)
#0 1.961 Reading package lists...
#0 2.209 Reading package lists...
#0 2.457 Building dependency tree...
#0 2.528 Reading state information...
#0 2.577 E: Unable to locate package google-chrome-stable
------
failed to solve: process "/bin/sh -c apt-get update && apt-get install gnupg wget -y     && wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg     && sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'     && apt-get update     && apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf     --no-install-recommends     && rm -rf /var/lib/apt/lists/*     && apt-get purge --auto-remove -y curl     && rm -rf /src/*.deb" did not complete successfully: exit code: 100

Can you reproduce this error?

samc621 avatar Jun 03 '23 18:06 samc621

@samc621 No, I'm not able to reproduce the error, the docker container compiled just fine for me.

meh-me avatar Jun 04 '23 18:06 meh-me

Can you please provide some details about your Docker host environment? I want to see if I can get it working. If not, I'll consider merging and see if it works in the GitHub Action.

samc621 avatar Jun 04 '23 18:06 samc621

I have docker on a fresh install of Ubuntu 22.04.2 running on vmware workstation pro.

meh-me avatar Jun 05 '23 13:06 meh-me