From af47a52174ba77d0dc8d8bddd8720b740e832cc6 Mon Sep 17 00:00:00 2001 From: Alberto Delgado Roda Date: Fri, 22 Sep 2023 18:37:30 +0200 Subject: [PATCH] chore: update dockerfile --- .ci/docker/node-playwright/Dockerfile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.ci/docker/node-playwright/Dockerfile b/.ci/docker/node-playwright/Dockerfile index a268282d7..a33786e94 100644 --- a/.ci/docker/node-playwright/Dockerfile +++ b/.ci/docker/node-playwright/Dockerfile @@ -1,17 +1,4 @@ -#Dockerfile for docker.elastic.co/observability-ci/node-playwright:${NODEJS_VERSION} -# When changing Node version, please build the Docker image for RUM here: -# https://apm-ci.elastic.co/job/apm-shared/job/apm-docker-images-pipeline/build?delay=0sec -# Remember checking the 'rum' parameter -# Little bit customized version of microsoft/playwright:bionic image -ARG NODEJS_VERSION -FROM ubuntu:bionic -# this second declaration is needed because ARG before FROM works differently. See https://docs.docker.com/compose/compose-file/#args -ARG NODEJS_VERSION - -# 1. Install node -RUN apt-get -qq update && apt-get -qq install -y curl && \ - curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION}.x | bash - && \ - apt-get -qq install -y nodejs +FROM node:18-alpine # 2. Install git (used to tag commit in benchmark runner) RUN apt-get -qq install -y git --no-install-recommends