Change installation of google-chrome in gh actions

This commit is contained in:
David Bomba
2024-11-22 16:08:26 +11:00
parent 6430ddcb92
commit 113ed64aee
2 changed files with 7 additions and 9 deletions

11
debian/Dockerfile vendored
View File

@@ -39,14 +39,11 @@ RUN apt-get update && apt-get install -y \
fonts-wqy-zenhei \
xfonts-wqy \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Chrome
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
gnupg2 \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update \
&& apt-get install -y ./google-chrome-stable_current_amd64.deb \
&& rm google-chrome-stable_current_amd64.deb \
&& apt-get install -y google-chrome-stable \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -8,7 +8,8 @@ x-logging: &default-logging
services:
app:
image: invoiceninja/invoiceninja-debian:latest
image: deb40d:latest
# image: invoiceninja/invoiceninja-debian:latest
restart: unless-stopped
env_file:
- ./.env
@@ -35,7 +36,7 @@ services:
image: nginx:alpine
restart: unless-stopped
ports:
- "80:80"
- "8013:80"
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro