Category : dependencies

I was running cmd npm install inside GitLab-ci.yml file. But, Now, I want to run inside my docker image. So I have created a docker file it built successfully and pushed it to the Docker hub. But when the pipeline runs inside GitLab CI/CD it’s not finding the packages installed from the image. Here is ..

Read more

I am configuring WhiteSource Renovate to update dependencies in Angular projects. We host it ourselves using a Docker image. I want to update our own dependencies in the project’s package.json file to only update @myBiz/common below: { "name": "my-app", "version": "1.0.0", "scripts": { //… }, "private": true, "dependencies": { "@angular/core": "~11.0.6", "@angular/router": "~11.0.6", // the ..

Read more

I would like to export all my dependencies with: mvn dependency:copy-dependencies -Dmdep.useRepositoryLayout=true -DoutputDirectory=/path/to/my/repository/ and to give them to my project (in a docker container) to prevent it from downloading anything. I created a ~/.m2/settings.xml file: <settings> <localRepository>/my/repository/</localRepository> <profiles> <profile> <id>devProfile</id> <repositories> <repository> <id>my-repository</id> <name>my repository</name> <url>file:/my/repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>my-repository</id> <name>my repository</name> <url>file:/my/repository</url> </pluginRepository> ..

Read more

I tried to run the playwright in docker but got this error: browserType.launch: Host system is missing dependencies! Missing libraries are: libvpx.so.6 libicui18n.so.66 libicuuc.so.66 libwoff2dec.so.1.0.2 libharfbuzz-icu.so.0 libgstgl-1.0.so.0 libgstcodecparsers-1.0.so.0 libjpeg.so.8 libenchant.so.1 libsecret-1.so.0 libhyphen.so.0 libGLESv2.so.2 Then I tried to install the necessary libs to make the bundled version of playwright work by adding: RUN apt-get update && ..

Read more

I have the following multi-stage dockerfile that attempts to copy each module of my multi-module java maven project and build my ear file using mvn clean install. dockerfile: # Copy files from local to maven image and build ear FROM maven:3.5-jdk-8 AS build COPY module1 /usr/src/app/src COPY module2 /usr/src/app/src COPY module3 /usr/src/app/src COPY pom.xml /usr/src/app ..

Read more

I have a non-CRAN package tables_pack which is installing from source. It depends on another non-CRAN package template_pack , however there is no mention of template_pack in the DESCRIPTION or NAMESPACE files of tables_pack. Since we were not aware of those dependencies, we put in the dockerfile echo "install.packages(‘tables_pack’)" before installing template.pack, which caused errors. ..

Read more