Comments (5)
If you mount /home/ubuntu/.npmrc
within the Pro's "server" container then it should work, assuming you didn't override the container's user
(which you shouldn't do).
Alternative, define npmrc
as a field within your config.js
, like:
module.exports = {
npmrc: '.........'
};
Any .npmrc
found within a repository's file system will also be read, however it is implicitly ignored if Renovate has found an .npmrc
config before that.
from renovate-ce-ee.
.npmrc
in home dir is now working. Must have been a permission issue as the container user was being temporarily switched to root
to install certs.
How dependant is Renovate Pro on the container being run as ubuntu
?
from renovate-ce-ee.
Renovate Pro is built on Ubuntu 18.04. Apart from .npmrc
- which is your choice whether to add or not, because there are alternatives - the only other package manager that so far depends on /home/ubuntu
existing is Gradle.
However later this year I intend to have Pro support individual manager containers like renovate/gradle
and renovate/npm
so that it can switch which version of each to use at runtime. i.e. detect the best version of each binary to use via either the repository or config, and then run that exact version, such as renovate/npm:6.9.0
. In such case it will be a required step that a common uid/guid is used between the containers.
Are you wanting to run it as root
, or something else?
from renovate-ce-ee.
Successfully running it as a user within a range that OpenShift provides the project.
from renovate-ce-ee.
I'm going to close this issue because the original topic was resolved. If you have a feature request regarding customisable user ID in the Docker container, please provide details in a new issue so we can discuss there. Pro's current setup is pretty simple - it is based on ubuntu and does have some files it owns in /home/ubuntu. Additionally, in future, for file permissions reasons it will be necessary that the same uid/guid is shared between multiple containers that you won't have control over.
from renovate-ce-ee.
Related Issues (20)
- Helm version [3.14.0, 3.14.2] is broken for Artifactory users using alias HOT 3
- renovate fails to update sha256 hash for Bazel dependency HOT 1
- Updating gitlab profile picture HOT 4
- Dashboard App for On-Premise Deployments HOT 5
- Runs on forks when not requested HOT 9
- Reporting apis for ce HOT 3
- Worker cleanup is inconsistent and breaks tools HOT 1
- mend.io github.com GITHUB_COM_TOKEN HOT 8
- Pause execution on "inactive" repositories? HOT 3
- docs(github): should the `MEND_RNV_CRON_JOB_SCHEDULER` and `MEND_RNV_CRON_APP_SYNC` have different formats? HOT 3
- Integration with Google Artifact Registry HOT 1
- Clarification on the timezone for `MEND_RNV_CRON_JOB_SCHEDULER` HOT 2
- encryption with self-hosted Gitlab - organization field HOT 2
- `renovate-ce:7.5.0-full` breaks after a few days HOT 8
- Question about `MEND_RNV_SYNC_MODE`: how many repos should be considered for "orgs with very large numbers of repos" HOT 1
- Inconsistent changelogs/tags HOT 2
- Unauthenticated GHE API call since v7.5.0 CE HOT 12
- Environment Variable for writeDiscoveredRepos HOT 1
- Update `mendRnvCronJobScheduler` variable in helm chart HOT 2
- Renovate not recognizing its own commits with `mendRnvGithubBotUserId` HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renovate-ce-ee.