Skip to content

Commit 8c971d8

Browse files
committed
Preinstall AWB in lab image
1 parent 4a4e2d7 commit 8c971d8

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

build.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"AIIDALAB_VERSION": {
1616
"default": "24.09.0"
1717
},
18+
"AWB_VERSION": {
19+
"default": "2.3.0a2"
20+
},
1821
"AIIDALAB_HOME_VERSION": {
1922
"default": "25.01.0"
2023
}

docker-bake.hcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ variable "AIIDA_VERSION" {
1717
variable "AIIDALAB_VERSION" {
1818
}
1919

20+
variable "AWB_VERSION" {
21+
}
22+
2023
variable "AIIDALAB_HOME_VERSION" {
2124
}
2225

@@ -88,6 +91,7 @@ target "lab" {
8891
platforms = "${PLATFORMS}"
8992
args = {
9093
"AIIDALAB_VERSION" = "${AIIDALAB_VERSION}"
94+
"AWB_VERSION" = "${AWB_VERSION}"
9195
"AIIDALAB_HOME_VERSION" = "${AIIDALAB_HOME_VERSION}"
9296
"PYTHON_MINOR_VERSION" = get_python_minor_version("${PYTHON_VERSION}")
9397
}

stack/lab/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ ENV DOCKER_STACKS_JUPYTER_CMD=notebook
1313
USER root
1414
WORKDIR /opt/
1515

16-
# Install aiidalab package
1716
ARG AIIDALAB_VERSION
17+
ARG AWB_VERSION
1818
RUN mamba install --yes \
1919
aiidalab=${AIIDALAB_VERSION} \
20+
aiidalab-widgets-base=${AWB_VERSION} \
2021
&& mamba clean --all -f -y && \
2122
fix-permissions "${CONDA_DIR}" && \
2223
fix-permissions "/home/${NB_USER}"

0 commit comments

Comments
 (0)