From e1cbfa98af2d9a18480fa41dcc98d4ce66b1f79e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 19 May 2021 10:29:45 +0200 Subject: [PATCH] Upgrade dockerfiles to use node 16 and refresh CI image Signed-off-by: Thomas Citharel --- docker/production/Dockerfile | 2 +- docker/tests/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index b6f752afb..51d9910b2 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -1,5 +1,5 @@ # First build the application assets -FROM node:14-alpine as assets +FROM node:16-alpine as assets RUN apk add --no-cache python build-base libwebp-tools bash imagemagick ncurses diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index ce413ee74..73f0d6c8c 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -1,9 +1,9 @@ FROM elixir:latest LABEL maintainer="Thomas Citharel " -ENV REFRESHED_AT=2021-04-30 +ENV REFRESHED_AT=2021-05-19 RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 cmake exiftool -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash && apt-get install nodejs -yq +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash && apt-get install nodejs -yq RUN npm install -g yarn wait-on RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN mix local.hex --force && mix local.rebar --force