# Building a Docker Image for the Entando Core
# Prerequisites
Java 11
Docker installed locally (https://docs.docker.com/docker-for-windows/install/ (opens new window))
maven
Access to a Docker repository (docker.io or other)
# Introduction
This tutorial will take you through the basic steps to create a docker image from an Entando core application. A more detailed guide with additional commands and configuration can be found here:
https://github.com/entando/entando-de-app (opens new window)
# Setup
Clone the application at: https://github.com/entando/entando-de-app (opens new window) using
git clone https://github.com/entando/entando-de-app
On a command line, cd into the entando-de-app you just cloned:
cd entando-de-app
Build a docker image from the core app replacing the value of the tag in the
-t
with the tag you want to use for your image.mvn clean package docker build . -f Dockerfile.wildfly -t <YOUR-USER>/<YOUR-REPO-NAME>:<YOUR-VERSION>
Create a repository on your Docker repository to store your new application
Push the Image to your Repository
docker push <YOUR-USER>/<YOUR-REPO-NAME>:<YOUR-VERSION>