From eaf9b7eb6dddcc030af8b2d0fe674ecaf68261db Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Wed, 24 May 2023 15:34:14 +0300 Subject: [PATCH] MT#57452 Remove mocha package In mr8.5.11 docker test with installed package mocha 4.1.0+ds3-5: 11:19:02 /tmp/node_modules/type-detect/index.js:39 11:19:02 export default function typeDetect(obj) { 11:19:02 ^^^^^^ 11:19:02 SyntaxError: Unexpected token export It works if I run mr8.5 docker file with no installed package. So remove the package from mr8.5 docker file because we will face the same problem with mr8.5.12. Change-Id: I19652e1fc33b7554d0850e314008cf3798e975b8 (cherry picked from commit 19b511b2289f4c15b73b5278bf6adf91f4940ec7) --- t/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/Dockerfile b/t/Dockerfile index ec37e9a..74a4407 100644 --- a/t/Dockerfile +++ b/t/Dockerfile @@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-buster:latest # is updated with the current date. It will force refresh of all # of the base images and things like `apt-get update` won't be using # old cached versions when the Dockerfile is built. -ENV REFRESHED_AT 2021-04-05 +ENV REFRESHED_AT 2023-05-24 COPY t/sources.list.d/builddeps.list /etc/apt/sources.list.d/ COPY t/sources.list.d/preferences /etc/apt/preferences.d/ @@ -13,7 +13,6 @@ COPY t/sources.list.d/preferences /etc/apt/preferences.d/ RUN apt-get update && \ apt-get install --assume-yes \ curl \ - mocha \ nodejs \ npm \ && \