From 1339934cc01d5bf3797af452b1d6690404e24e6e Mon Sep 17 00:00:00 2001 From: mytlogos Date: Fri, 26 Aug 2022 17:30:06 +0200 Subject: [PATCH] ci: try alpine image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 55889377..fdb68d92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ # syntax=docker/dockerfile:1 -FROM node:18 +FROM node:18-alpine ARG PROJECT_VERSION -RUN apt update && apt install -y chromium && apt-get clean +RUN apk add --no-cache chromium wget curl grep unzip RUN export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true RUN export PUPPETEER_EXECUTABLE_PATH=$(which chromium) WORKDIR /code COPY prepare-docker.sh ./ # download release and install dependencies -RUN /bin/bash ./prepare-docker.sh $PROJECT_VERSION +RUN /bin/sh ./prepare-docker.sh $PROJECT_VERSION COPY *.env ./