Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.11 KB

BUILD.md

File metadata and controls

39 lines (25 loc) · 1.11 KB

Building instructions for the MariaDB Docker image

Each Docker image to be created is based on a base Docker image.
The configuration of a Docker image takes place in the respective Dockerfile file.

Access to Docker Hub

A one-time authentication is required to upload Docker images to Docker Hub.

# Login to Docker Hub
docker login

Build the Docker image

The following command is required to build the current version.

# Build the Docker image
docker build --no-cache --pull --tag nicoherbigde/mariadb:11.4-noble 11.4/ubuntu/default/

Hint: For building an older version, the directory and file paths as well as the Docker tags must be adjusted accordingly, analogous to the previously mentioned command.

Upload the Docker image

The following command is required to upload the current version.

# Upload the Docker image to Docker Hub
docker push nicoherbigde/mariadb:11.4-noble

Hint: For uploading an older version, the Docker tags must be adjusted accordingly, analogous to the previously mentioned command.

Copyleft

This documentation was written by Nico Herbig.