This is my docker file , while building the image on ECS , its giving error - [91mgpg: no valid OpenPGP data found.
Can someone please help -
PUPPETEER RECIPE
FROM node:slim as build-image
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ARG FUNCTION_DIR
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 google-chrome-stable -y --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
END PUPPETEER RECIPE
ENV PUPPETEER_EXECUTABLE_PATH "/usr/bin/google-chrome-stable"
Top comments (0)