-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all extra apt packages to base, hopefully speeds up build
- Loading branch information
1 parent
30eb7c9
commit 83b1975
Showing
2 changed files
with
7 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,19 @@ LABEL maintainer="AiiDAlab Team <[email protected]>" | |
|
||
USER root | ||
|
||
# build-essential: includes GCC compilers that are needed when building | ||
# pip packages from sources, which often seems to happen for pymatgen: | ||
# https://pymatgen.org/installation.html#installation-tips-for-optional-libraries | ||
# rsync: needed to support the new AiiDA backup command | ||
# povray: rendering engine used in aiidalab-widgets-base | ||
ENV EXTRA_APT_PACKAGES "curl povray rsync build-essential" | ||
RUN apt-get update --yes && \ | ||
apt-get install --yes --no-install-recommends \ | ||
# for apps which need to install pymatgen: | ||
# https://pymatgen.org/installation.html#installation-tips-for-optional-libraries | ||
build-essential && \ | ||
apt-get install --yes --no-install-recommends ${EXTRA_APT_PACKAGES} && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /opt/ | ||
|
||
ARG AIIDA_VERSION | ||
|
||
# Pin shared requirements in the base environment. | ||
# We pin aiida-core to the exact installed version, | ||
# to prevent accidental upgrade or downgrade, that might | ||
|
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