jfrog / artifactory-docker-examples

Examples for using Artifactory Docker distribution in various environments
https://www.jfrog.com/artifactory/
Apache License 2.0
330 stars 299 forks source link

document docker example for installing/configuring plugins #180

Open jetersen opened 4 years ago

jetersen commented 4 years ago

Currently trying to configure buildSync.json and I have no idea what is the proper way of configuring the preinstalled buildSync plugin.

at the moment I am getting replication errors for artifactory-build-info and I would like to configure it properly.

jetersen commented 4 years ago

reading the contents on the entrypoint-artifactory.sh reveals the secret but still not very clear.

addPlugins () {
    logger "Adding plugins if exist"
    cp -fv /tmp/plugins/* ${ARTIFACTORY_HOME}/etc/plugins/
}
eldada commented 4 years ago

Yes. The secret is preparing your plugins on the host and mounting them to /tmp/plugins/ in the Artifactory container. The plugins are copied to their final destination in the entrypoint script. Indeed - this is not documented well here.