Skip to content

Commit 29e3f04

Browse files
committed
Add build dependencies for pip packages in Dockerfile
1 parent e2bae4d commit 29e3f04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ FROM continuumio/miniconda3 AS build
77
# File Author / Maintainer
88
LABEL maintainer="Adam Taylor <adam.taylor@sagebase.org>"
99

10+
# Install build dependencies needed for pip packages with C extensions (e.g., minerva-lib)
11+
RUN apt-get update && apt-get install --yes --no-install-recommends \
12+
gcc \
13+
g++ \
14+
make \
15+
&& rm -rf /var/lib/apt/lists/*
16+
1017
# Install the package as normal:
1118
COPY environment.yml .
1219
RUN conda env create -f environment.yml

0 commit comments

Comments
 (0)