Skip to content

Commit a717d59

Browse files
committed
Update base image, Node.js, and Phoenix - removing Google chrome dep
1 parent cde52b5 commit a717d59

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

Dockerfile

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/fortawesome/elixir:1.14.1-otp25.1.1
1+
FROM quay.io/fortawesome/elixir:1.14.2-otp25.1.2-rust1.65.0
22

33
ENV DEBIAN_FRONTEND noninteractive
44

@@ -18,7 +18,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
1818

1919
# Install Node
2020
ENV NPM_CONFIG_LOGLEVEL info
21-
ENV NODE_VERSION 16.17.1
21+
ENV NODE_VERSION 18.12.1
2222

2323
# install Node.js with package
2424
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
@@ -28,7 +28,7 @@ RUN apt-get install -y nodejs
2828
# install Hex
2929
RUN mix local.hex --force
3030

31-
ENV PHOENIX_VERSION 1.6.14
31+
ENV PHOENIX_VERSION 1.6.15
3232

3333
# install the Phoenix Mix archive
3434
RUN mix archive.install --force hex phx_new $PHOENIX_VERSION
@@ -41,16 +41,4 @@ RUN tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.1.tar.gz && rm docker
4141

4242
# include wait-for-it.sh
4343
RUN curl -o /bin/wait-for-it.sh https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
44-
RUN chmod a+x /bin/wait-for-it.sh
45-
46-
# install headless Chrome compatible with puppeteer
47-
RUN apt-get update && apt-get install -yq libgconf-2-4
48-
RUN apt-get update && apt-get install -y wget --no-install-recommends \
49-
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
50-
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
51-
&& apt-get update \
52-
&& apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \
53-
--no-install-recommends \
54-
&& rm -rf /var/lib/apt/lists/* \
55-
&& apt-get purge --auto-remove -y curl \
56-
&& rm -rf /src/*.deb
44+
RUN chmod a+x /bin/wait-for-it.sh

0 commit comments

Comments
 (0)