Skip to content

Commit 393b765

Browse files
authored
Add gcc compiler in base stack (#338)
The gcc is installed inbuild-essential by apt in order to support installing pypi packages that need build such as `pymatgen` and for Cython. The size of full-stack increased 200MB.
1 parent eaab795 commit 393b765

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

stack/base/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ FROM ${BASE}
44
LABEL maintainer="AiiDAlab Team <[email protected]>"
55

66
USER root
7+
8+
RUN apt-get update --yes && \
9+
apt-get install --yes --no-install-recommends \
10+
# for apps which need to install pymatgen:
11+
# https://pymatgen.org/installation.html#installation-tips-for-optional-libraries
12+
build-essential && \
13+
apt-get clean && rm -rf /var/lib/apt/lists/*
14+
715
WORKDIR /opt/
816

917
ARG AIIDA_VERSION

tests/test_aiidalab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_install_apps_from_stable(aiidalab_exec, package_name, nb_user, variant)
117117

118118

119119
@pytest.mark.integration
120-
@pytest.mark.parametrize("package_name", ["aiidalab-widgets-base"])
120+
@pytest.mark.parametrize("package_name", ["aiidalab-widgets-base", "aiidalab-qe"])
121121
def test_install_apps_from_master(aiidalab_exec, package_name, nb_user, variant):
122122
if "lab" not in variant:
123123
pytest.skip()

0 commit comments

Comments
 (0)