Skip to content

Commit

Permalink
Fix api container builds for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvire committed Jul 18, 2023
1 parent ea8c1c0 commit 12c8b07
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/SIL.AppBuilder.Portal.Frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 node:10.17.0
FROM --platform=linux/amd64 node:10.17.0-buster

ARG CHROME_VERSION="google-chrome-stable"

Expand All @@ -9,10 +9,9 @@ RUN mkdir /app \

# Chrome is needed for automated acceptance testing
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update -qqy \
&& apt-get -qqy install \
${CHROME_VERSION:-google-chrome-stable} \
&& apt-get -qqy install ${CHROME_VERSION:-google-chrome-stable} \

# Clean up (smaller resulting image)
&& rm /etc/apt/sources.list.d/google-chrome.list \
Expand Down

0 comments on commit 12c8b07

Please sign in to comment.