Mi Dockerfile funcionaba bien antes y ahora se está rompiendo con el siguiente error:
#10 0.298 Get:1 http://security.debian.org/debian-security stretch/updates InRelease [59.1 kB]
#10 0.382 Ign:2 http://deb.debian.org/debian stretch InRelease
#10 0.398 Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
#10 0.432 Get:4 http://security.debian.org/debian-security stretch/updates/main arm64 Packages [762 kB]
#10 0.438 Get:5 http://deb.debian.org/debian stretch Release [118 kB]
#10 0.523 Get:6 http://deb.debian.org/debian stretch Release.gpg [3177 B]
#10 0.641 Get:7 http://deb.debian.org/debian stretch/main arm64 Packages [6921 kB]
#10 0.979 Get:8 http://dl.google.com/linux/chrome/deb stable InRelease [1811 B]
#10 1.266 Get:9 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1078 B]
#10 2.488 Fetched 7959 kB in 2s (3534 kB/s)
#10 2.488 Reading package lists...
#10 2.977 Reading package lists...
#10 3.446 Building dependency tree...
#10 3.527 Reading state information...
#10 3.535 Package google-chrome-stable is not available, but is referred to by another package.
#10 3.535 This may mean that the package is missing, has been obsoleted, or
#10 3.535 is only available from another source
#10 3.535
#10 3.543 E: Package 'google-chrome-stable' has no installation candidate
Puedes ver el dockerfile a continuación
FROM node:12
WORKDIR /tmp
# Install Chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update && apt-get install -y google-chrome-stable -o Acquire::http::Pipeline-Depth=0 -o Acquire::http::No-Cache=True
¿Ha sido útil esta solución?
Tu feedback nos ayuda a saber si la solución es correcta y está funcionando. De esta manera podemos revisar y corregir el contenido.