Auto-Discover Dockerfile(s) to build Docker Images with Roost

Sudhirjangir
2 min readSep 12, 2022

To deploy/run Dockerized app or container, we need to assemble Docker images first. To do that, first, we need to create a Dockerfile. A Dockerfile is your step-by-step commands to run to build a Docker Image.

Roost, which provides ephemeral environments as a service for your cloud-native or container-native application, auto-discovers your Dockerfile(s) by continuously scanning and inspecting source-code repositories (e.g., GitHub, GitLab, and BitBucket).

Auto-discover your Dockerfile(s)

You can run a “docker build” on the Dockerfile, which will generate a Docker Image in your Roost Local Image Registry. After that, you can do a docker run or push the image to a production image registry like ECR or JFrog.

Roost Local Image Registry

Creating a Dockerfile

Create a new file named “Dockerfile” and define your build command instructions. Roost offers a Desktop based utility to create these Dockerfiles in a simple drag-and-drop way; there is no need to remember or copy-paste your instructions. You can define application-wise templates to create consistent and optimized Dockerfiles.

Create your Dockerfile using Drag n Drop

Roost environments can build or pick the resultant container images from the local or your production image registries (ECR or JFrog). Roost will auto-deploy these images to your Roost environment for further testing.

To learn more about Roost’s EaaS offering, please do visit https://roost.ai.

--

--