Giter Club home page Giter Club logo

dockerfile-artifactory's People

Contributors

jossy avatar jvliwanag avatar mattgruter avatar stain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dockerfile-artifactory's Issues

any reason not to upgrade to artifactory 5.5.2?

This image seems to be the most popular and active image for artifactory. However it installs artifactory version 3.9.2 which is far behind the current version 5.5.2.

Is there any reason not to upgrade to artifactory version 5.5.2?

Easy way to add a private CA certificate to java cacerts

I assume I need to add a private CA to the java keystore, to avoid this error when adding a remote repository (https://www.jfrog.com/confluence/display/RTF/Configuring+Repositories) like https://private.example.com/maven/repository/snapshots/.

Connection failed with exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I tried creating a Dockerfile FROM mattgruter/artifactory with these additional steps:

ENV JAVA_CACERTS /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts 
ADD MYCOMPANY_CA.pem ./ 
RUN keytool -noprompt -storepass changeit -keystore ${JAVA_CACERTS} -import -file MYCOMPANY_CA.pem -alias MYCOMPANY_CA 

but that didn't work because the ONBUILD step failed.
So, I just copied your Dockerfile and commented out the ONBUILD. Don't know of a better solution, maybe the ability to pass extra CA's via env var?

Unfortunately, artifactory still doesn't accept my private repo. I verified a simple java URL() request to https://private.example.com/maven/repository/snapshots/ fails before adding the private CA, and works after, so I guess I don't understand what cacerts artifactory is using. Anybody know?

Add /artifactory/etc volume

Recently upgraded to 3.9.2 and noticed that artifactory expects an etc directory now. This is a very minor update: the readme and docker help page should indicate that you need to also mount /artifactory/etc onto a volume of some sort. Otherwise you get odd errors (failure to backup logback.xml on startup, only visible in tomcat's localhost logs), then the artifcatory webapp is not running and you get an infinite redirect to /artifcatory/artifactory/... :)

Hope this helps!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.