|
| 1 | +# ================================================================================================= |
| 2 | +# Set Dockerized-NorLab project application (DNA) environment variable. |
| 3 | +# |
| 4 | +# Notes: |
| 5 | +# - This dotenv file is use both at buildtime and runtime |
| 6 | +# - DNA dotenv file loading precedence: |
| 7 | +# 1. .env.dna |
| 8 | +# 2. .env |
| 9 | +# 3. .env.local |
| 10 | +# 4. .env.dna-internal (DNA repository) |
| 11 | +# |
| 12 | +# ================================================================================================= |
| 13 | + |
| 14 | +# ....Console option............................................................................... |
| 15 | +# Un-comment to override |
| 16 | + |
| 17 | +#DN_ENTRYPOINT_TRACE_EXECUTION=true |
| 18 | +#DN_SHOW_DEBUG_INFO=true |
| 19 | + |
| 20 | +# DNA container prompt style |
| 21 | +# Requirement: |
| 22 | +# - Ubuntu: "$ sudo apt-get install fonts-powerline" and select patched font in terminal, example "Ubuntu mono" |
| 23 | +# - MacOs: Any font from list "$ brew search nerd-font" -> "$ brew install font-FONT-NAME-nerd-font" |
| 24 | +# Example "$ brew install font-jetbrains-mono-nerd-font" and select patched font in terminal, "JetBrainsMon Nerd Font Mono" |
| 25 | +# Check preview at https://www.nerdfonts.com/font-downloads |
| 26 | +#DN_ACTIVATE_POWERLINE_PROMT=true |
| 27 | + |
| 28 | +# ....Repository config............................................................................ |
| 29 | +DN_PROJECT_GIT_REMOTE_URL=https://github.com/norlab-ulaval/math-gymnasium.git |
| 30 | + |
| 31 | +# ....Docker config................................................................................ |
| 32 | +DN_CONTAINER_NAME="IamDNA_mg" |
| 33 | +DN_PROJECT_ALIAS_PREFIX="mg" |
| 34 | + |
| 35 | +# Set the project core base image |
| 36 | +# Un-comment to override (default to 'dockerized-norlab-dependencies-full') |
| 37 | +#DN_PROJECT_BASE_IMG=dockerized-norlab-dependencies-full |
| 38 | + |
| 39 | +# Set the Dockerized-NorLab base image version |
| 40 | +# Use one of the following: |
| 41 | +# - 'latest' is the latest push to the repository default branch |
| 42 | +# - 'bleeding' is the latest push to the repository dev branch (i.e. bleeding-edge) |
| 43 | +# - you can use a specific release version tag number, e.g., 'v0.7.0' |
| 44 | +# - un-comment to override (default to 'latest') |
| 45 | +#DN_VERSION=bleeding |
| 46 | + |
| 47 | +# This the Docker hub from where your project images will be pushed to and pulled from. |
| 48 | +# Un-comment to override (default to norlabulaval) |
| 49 | +#DN_PROJECT_HUB=norlabulaval |
| 50 | + |
| 51 | +# ....Development config........................................................................... |
| 52 | +# Special user with dedicated shell configuration tailormade for ROS2 remote development |
| 53 | +#DN_SSH_SERVER_USER="${DN_PROJECT_ALIAS_PREFIX}-non-interactive-ros2" |
| 54 | + |
| 55 | +# Port assignement |
| 56 | +#DN_SSH_SERVER_PORT=2222 |
| 57 | +#DN_GDB_SERVER_PORT=7777 |
| 58 | + |
| 59 | +# Set the ssh daemon in no detach mode for server operation monitoring |
| 60 | +#DN_SSH_DAEMON_NO_DETACH=true |
| 61 | + |
| 62 | +# ....deploy config................................................................................ |
| 63 | +# Path to the src code that will be cloned into the DN project-deploy image |
| 64 | +# - Un-comment to override (default to repository root) |
| 65 | +#DN_PROJECT_DEPLOY_SRC_PATH="${SUPER_PROJECT_ROOT:?err}/arbitrary/path" |
| 66 | + |
| 67 | +# Branch checkout for the project-deploy image |
| 68 | +# - Options: 'main', 'dev', '<feature-branch>' or tag version (ie 'v*.*.*') |
| 69 | +# - Un-comment to override (default to 'main') |
| 70 | +# - Automaticaly use the current checkout branch otherwise |
| 71 | +#DN_PROJECT_DEPLOY_REPO_BRANCH=dev |
| 72 | + |
| 73 | +# ====Dockerized-NorLab============================================================================ |
| 74 | + |
| 75 | +# ....Tag.......................................................................................... |
| 76 | +# The Dockerized-NorLab base image tag is generated by DNA internaly using various environment variables either set by the user or set by DNA. |
| 77 | +# The gerated base image tag and base image name follow this patern: |
| 78 | +# |
| 79 | +# <dn-project-hub>/<dn-project-base-img>:DN-<dn-version>-<tag-package>-<tag-os-version> |
| 80 | +# |
| 81 | +# Example: |
| 82 | +# norlabulaval/dockerized-norlab-dependencies-full:DN-bleeding-galactic-desktop-l4t-pytorch-r35.4.1 |
| 83 | +# |
| 84 | +# See https://hub.docker.com/repositories/norlabulaval for available base images. |
| 85 | + |
| 86 | +# The Dockerized-NorLab base image tag package name |
| 87 | +# Un-comment to override |
| 88 | +#TAG_PACKAGE=humble-base-l4t-pytorch |
| 89 | + |
| 90 | +# The Linux-for-Tegra (Jetson OS) container tag version |
| 91 | +# Un-comment to override |
| 92 | +#TAG_OS_VERSION=r36.4.0 |
| 93 | + |
| 94 | +# ....Main config.................................................................................. |
| 95 | +# Set the Dockerized-NorLab docker image hub where to pull DN_PROJECT_BASE_IMG from |
| 96 | +# Un-comment to override (default to 'norlabulaval') |
| 97 | +#DN_HUB=norlabulaval |
| 98 | + |
| 99 | +# Set the Dockerized-NorLab repository branch for container internal tools |
| 100 | +# Accept 'main', 'dev', '<feature-branch-name>' or tag version 'v*.*.*' |
| 101 | +# Un-comment to override (default to 'main') |
| 102 | +#DN_GIT_BRANCH=dev |
| 103 | + |
| 104 | +# ====Docker CLI/config/internal=================================================================== |
| 105 | +# Docker context global overide |
| 106 | +# Un-comment to set in DNA |
| 107 | +#DOCKER_CONTEXT=desktop-linux |
| 108 | + |
| 109 | +# Docker builder global overide. |
| 110 | +# Un-comment to set in DNA |
| 111 | +#BUILDX_BUILDER=desktop-linux |
| 112 | +# Note: DNA 'execute_compose.bash' automaticaly select the native builder if BUILDX_BUILDER is not set. |
| 113 | + |
| 114 | +# For debuging docker build localy, use `docker build --progress=plain --no-cache` flags instead |
| 115 | +# Un-comment to set in DNA for debugging dockerfile |
| 116 | +#BUILDKIT_PROGRESS=plain |
0 commit comments