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 \ fonts-wqy-zenhei \
xfonts-wqy \ xfonts-wqy \
wget \ wget \
&& apt-get clean \ gnupg2 \
&& rm -rf /var/lib/apt/lists/* && 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 \
# Install Chrome
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& apt-get update \ && apt-get update \
&& apt-get install -y ./google-chrome-stable_current_amd64.deb \ && apt-get install -y google-chrome-stable \
&& rm google-chrome-stable_current_amd64.deb \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

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