From 7e274852283bccefcbdf089ece00822a242280c7 Mon Sep 17 00:00:00 2001 From: Iain McNulty Date: Mon, 9 Dec 2024 10:28:14 +0000 Subject: [PATCH] Add chromium and chromedriver --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9b5a2ed7c2..238d6ac5bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,15 +17,13 @@ RUN bundle exec middleman build --build-dir=../public FROM ruby:3.3.5-alpine3.20 -RUN apk add --no-cache libxml2 +RUN apk add --update --no-cache \ + postgresql-dev git ncurses shared-mime-info jemalloc libxml2 chromium chromium-chromedriver RUN apk add --update --no-cache tzdata && \ cp /usr/share/zoneinfo/Europe/London /etc/localtime && \ echo "Europe/London" > /etc/timezone -RUN apk add --update --no-cache \ - postgresql-dev git ncurses shared-mime-info jemalloc - ENV APP_HOME=/app RUN mkdir $APP_HOME