From 4cce95245ebbe0b3c54077f47bbac81a12c37ef5 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 10 Jun 2022 19:42:46 +0200 Subject: [PATCH] dockerfile: Update to node 16 + alpine 3.15 --- .drone.yml | 4 ++-- Dockerfile-frontend-ui | 2 +- Dockerfile-nginx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a7fc62af..7c8acb42 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,7 +69,7 @@ steps: CGO_ENABLED: 0 - name: build frontend ui - image: node:lts-alpine + image: node:16-alpine3.15 commands: - apk --no-cache add python2 build-base - cd frontend/ui @@ -354,7 +354,7 @@ steps: CGO_ENABLED: 0 - name: build frontend ui - image: node:lts-alpine + image: node:16-alpine3.15 commands: - apk --no-cache add python2 build-base - cd frontend/ui diff --git a/Dockerfile-frontend-ui b/Dockerfile-frontend-ui index e6c8d011..940e77f7 100644 --- a/Dockerfile-frontend-ui +++ b/Dockerfile-frontend-ui @@ -1,4 +1,4 @@ -FROM node:alpine as nodebuild +FROM node:16-alpine3.15 as nodebuild WORKDIR /ui diff --git a/Dockerfile-nginx b/Dockerfile-nginx index d3d83b55..b4de7d47 100644 --- a/Dockerfile-nginx +++ b/Dockerfile-nginx @@ -1,4 +1,4 @@ -FROM node:lts-alpine as nodebuild +FROM node:16-alpine3.15 as nodebuild WORKDIR /ui