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 19b511b228)
mr8.5.11
Mykola Malkov 3 years ago
parent 3278818b63
commit eaf9b7eb6d

@ -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 \
&& \

Loading…
Cancel
Save