-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-14226 docker: deployment of vcluster with md-on-ssd (#13087)
Update DAOS docker vcluster scripts for being able to deploy a minimal docker DAOS system using the md-on-ssd feature. This PR also fix miscellaneous minor issues such as default DAOS rpms repos, variables naming, etc. The Doc-only pragma as been used as there is nothing yet tested by the CI related to this docker stuff. Signed-off-by: Cedric Koch-Hofer <[email protected]>
- Loading branch information
Showing
25 changed files
with
488 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
# Copyright 2021-2023 Intel Corporation | ||
# Copyright 2021-2024 Intel Corporation | ||
# All rights reserved. | ||
# | ||
# 'recipe' for building a base RHEL DAOS admin image | ||
# | ||
# This Dockerfile accept the following input build arguments: | ||
# - LINUX_DISTRO Linux distribution identifier (default "el8") | ||
# - DAOS_DOCKER_IMAGE_NSP Namespace identifier of the base DAOS docker image (default "daos") | ||
# - DAOS_DOCKER_IMAGE_TAG Tag identifier of the DAOS client docker image (default "v2.4.0") | ||
# - DAOS_VERSION Version of DAOS to use (default "2.4.0-2.el8") | ||
# - LINUX_DISTRO Linux distribution identifier (mandatory) | ||
# - DAOS_DOCKER_IMAGE_NSP Namespace identifier of the base DAOS docker image (mandatory) | ||
# - DAOS_DOCKER_IMAGE_TAG Tag identifier of the DAOS client docker image (mandatory) | ||
# - DAOS_VERSION Version of DAOS to use (mandatory) | ||
|
||
# Pull base image | ||
ARG LINUX_DISTRO="el8" | ||
ARG DAOS_DOCKER_IMAGE_NSP="daos" | ||
ARG DAOS_DOCKER_IMAGE_TAG="v2.4.0" | ||
ARG LINUX_DISTRO="" | ||
ARG DAOS_DOCKER_IMAGE_NSP="" | ||
ARG DAOS_DOCKER_IMAGE_TAG="" | ||
FROM "$DAOS_DOCKER_IMAGE_NSP/daos-base-$LINUX_DISTRO:$DAOS_DOCKER_IMAGE_TAG" | ||
LABEL maintainer="[email protected]" | ||
|
||
# Install DAOS package | ||
ARG DAOS_VERSION="2.4.0-2.el8" | ||
RUN echo "[INFO] Installing DAOS containerization dependencies" ; \ | ||
ARG DAOS_VERSION="" | ||
RUN for it in DAOS_VERSION ; do \ | ||
if eval "[[ -z \$$it ]]" ; then \ | ||
echo "[ERROR] Docker build argument $it is not defined" ; \ | ||
exit 1 ; \ | ||
fi ; \ | ||
done && \ | ||
echo "[INFO] Installing DAOS containerization dependencies" ; \ | ||
dnf install \ | ||
sudo \ | ||
xz && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
# Copyright 2021-2023 Intel Corporation | ||
# Copyright 2021-2024 Intel Corporation | ||
# All rights reserved. | ||
# | ||
# 'recipe' for building a base RHEL DAOS client docker image | ||
# | ||
# This Dockerfile accept the following input build arguments: | ||
# - LINUX_DISTRO Linux distribution identifier (default "el8") | ||
# - DAOS_DOCKER_IMAGE_NSP Namespace identifier of the base DAOS docker image (default "daos") | ||
# - DAOS_DOCKER_IMAGE_TAG Tag identifier of the DAOS client docker image (default "v2.4.0") | ||
# - DAOS_VERSION Version of DAOS to use (default "2.4.0-2.el8") | ||
# - LINUX_DISTRO Linux distribution identifier (mandatory) | ||
# - DAOS_DOCKER_IMAGE_NSP Namespace identifier of the base DAOS docker image (mandatory) | ||
# - DAOS_DOCKER_IMAGE_TAG Tag identifier of the DAOS client docker image (mandatory) | ||
# - DAOS_VERSION Version of DAOS to use (mandatory) | ||
|
||
# Pull base image | ||
ARG LINUX_DISTRO="el8" | ||
ARG DAOS_DOCKER_IMAGE_NSP="daos" | ||
ARG DAOS_DOCKER_IMAGE_TAG="v2.4.0" | ||
ARG LINUX_DISTRO="" | ||
ARG DAOS_DOCKER_IMAGE_NSP="" | ||
ARG DAOS_DOCKER_IMAGE_TAG="" | ||
FROM "$DAOS_DOCKER_IMAGE_NSP/daos-base-$LINUX_DISTRO:$DAOS_DOCKER_IMAGE_TAG" | ||
LABEL maintainer="[email protected]" | ||
|
||
# Install DAOS package | ||
ARG DAOS_VERSION="2.4.0-2.el8" | ||
RUN echo "[INFO] Installing DAOS containerization dependencies" ; \ | ||
ARG DAOS_VERSION="" | ||
RUN for it in DAOS_VERSION ; do \ | ||
if eval "[[ -z \$$it ]]" ; then \ | ||
echo "[ERROR] Docker build argument $it is not defined" ; \ | ||
exit 1 ; \ | ||
fi ; \ | ||
done && \ | ||
echo "[INFO] Installing DAOS containerization dependencies" ; \ | ||
dnf install \ | ||
sudo \ | ||
xz && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.