On this page

Show all

Description

Updated on 2023-11-28 GMT+08:00

This section involves the building of two Maven projects, one base Docker image, and one Dockerfile.

  • WebServer project: project to be built. A build package will be obtained and used to create a Docker image. The Dockerfile used for creating the image will be stored in the root directory of this project.
  • WebUtil project: a self-developed tool package required by WebServer. It is introduced in the pom file of the WebServer project and is used to demonstrate the applicable scenario of the self-hosted repo.
  • Base image: You can create a Docker image by adding the WebServer build package to the base image.
  • Dockerfile: used to create images.

The following figure shows the build process.

This section describes the entire process from preparing the code repository to creating and pushing the image to SWR. The procedure is as follows:

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback