Description
Is your feature request related to a problem? Please describe.
For example, this is my docker file:
FROM releases-docker.jfrog.io/jfrog/jfrog-cli-full-v2-jf
RUN jf c add --interactive=false --url=https://xxx.jfrog.io --user=user --password=passwd
RUN jf pipc --repo-resolve=dayk-pypi-remote
RUN jf pip install pandas
WORKDIR /app
COPY . /app/
ENTRYPOINT ["python", "-m", "yourapp"]
Once this docker image is published in a build, the pypi dependencies (e.g. pandas from the above docker file) are not included in the dependencies of this docker build.
Describe the solution you'd like to see
Once a docker build is published to Artifactory, we would like to see the dependencies mentioned in the docker file. From the above example, we’d like to see the pypi dependency from Artifactory build dependencies.
Describe alternatives you've considered
You can append the pypi build (that were created inside my Dockerfile) to my docker build.
Add the below lines in the docker file:
RUN jf pip install pandas --build-name=dayoun_pip_docker_test --build-number=1
RUN jf rt bp dayoun_pip_docker_test 1
And then use jf rt build-append:
jf rt build-append dayk-test-docker-image-build 1 dayk-pypi-build 1