Skip to content

Commit d72aa52

Browse files
authored
Fixed bugs in Dockerfile
1 parent 23c50c3 commit d72aa52

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

Dockerfile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ WORKDIR /home
55
ENV SHELL /bin/bash
66

77
ARG DEBIAN_FRONTEND=noninteractive
8-
ARG CC=gcc-8
9-
ARG CXX=g++-8
10-
ARG CPLUS_INCLUDE_PATH=/opt/conda/envs/pysap/include/python3.8/
8+
ARG CC=gcc-10
9+
ARG CXX=g++-10
1110

12-
RUN apt update && \
13-
apt install -y gcc-8 g++-8 && \
14-
apt install -y libgl1 && \
15-
apt install -y libnfft3-dev && \
16-
apt install -y cmake && \
17-
apt clean
11+
RUN apt-get update && \
12+
apt-get install -y gcc-10 g++-10 && \
13+
apt-get install -y libgl1 && \
14+
apt-get install -y libnfft3-dev && \
15+
apt-get install -y cmake && \
16+
apt-get clean
1817

1918
RUN git clone https://github.com/CEA-COSMIC/pysap.git
2019

@@ -25,6 +24,6 @@ ENV PATH /opt/conda/envs/pysap/bin:$PATH
2524

2625
RUN echo "path: $PATH" && \
2726
cd pysap && \
28-
python setup.py install
27+
python -m pip install .
2928

3029
CMD ["jupyter", "notebook", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root"]

0 commit comments

Comments
 (0)