Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.98 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.98 KB

Documentation Platform Docker File

This project contains the Docker file required to build the documentation platform Docker image and is based on an Alpine Linux installation with:

Prerequisites

Install Docker to run docker commands.

Building the Docker Image

To build the documentation platform Docker image, run:

docker build -t {imagename} --build-arg SOURCE_COMMIT=$(git rev-parse --short HEAD) .

Note:

  • {imagename} can be any string.
  • Syntax shown above works in bash.

Log in to the Docker Image

To log in to the previously built Docker image, run:

docker run -ti {imagename} sh

{imagename} can be any string.