Build a Docker Image from a Dockerfile Using Ephemeral Environments
How to Work with a Docker Image 
A Dockerfile is essentially step-by-step commands to build and run a Docker Image. In order to deploy/run Dockerized applications or containers, a Docker image must be assembled first.
The Roost.ai Platform Auto-Discovers Dockerfile(s) to Build Docker Images
The Roost.ai environment management platform creates ephemeral environments and was designed specifically to test Kubernetes environments or container-native applications. Roost’s proprietary technology continuously scans and inspects source-code repositories (e.g. GitHub, GitLab, and BitBucket) and auto-discovers all Dockerfile(s) associated with a containerized app.
Figure 1. The Roost Platform Auto-discovers Dockerfile(s)
By running a “docker build command” on a Dockerfile a Docker Image is auto-generated in the user’s Roost Local Image Registry. After performing that task, a Docker run can be performed or the Image can be pushed to a production image registry like ECR or JFrog.
Figure 2. Roost Local Image Registry
How to Create a Dockerfile with the Roost.ai Platform
Build Dockerfiles using Drag-n-Drop
The Roost.ai platform allows users to create Dockerfiles in a simple drag-and-drop way; there is no need to remember or copy-paste instructions (see Figure 3 below). User’s don’t need to remember the Dockerfile syntax and can avoid making errors by utilizing built-in Dockerfile templates. Administrators and users can create, define and share templates to create consistent and optimized Dockerfiles.
Figure 3. The Roost platform’s Drag n Drop feature makes the
creation of Dockerfiles quick and easy.
Build Dockerfiles from the Command Line
Some developers and DevOps engineers like to execute everything from command line instruction (CLI). They can also create Dockerfiles from standard command line instructions. Roost.ai environments can build or pick the resultant container images from a local or a production image registries (ECR or JFrog) and the images will be auto-deployed to the ephemeral environment for automatic testing against your code repository.
Contact us to see how the Roost platform makes the creation of Dockerfiles simple, easy and fast accelerating code releases to production.