Use a private build in docker image

We have some changes that we want to deploy to our production environment. We use dockerized image for Elasticsearch (debian based).

Unfortunately, there is a feature we want to use that does not exist in Elasticsearch. Hence, we updated the code to add support based on our requirements. However, I was wondering how can we use private build into docker.

The current DockerFile simply downloads a debian package and unpacks it with dpkg. It sounds like, I need to do the following:

  1. Create a dpkg from a private build
  2. Use that dpkg in Dockerfile

Do you know how to create a dpkg from a private build / source and how to use that in DockerFile? Thanks so much.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.