Skip to content

Commit

Permalink
Change installation of google-chrome in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Nov 22, 2024
1 parent 6430ddc commit 113ed64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 4 additions & 7 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
5 changes: 3 additions & 2 deletions debian/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 113ed64

Please sign in to comment.