@@ -4,47 +4,37 @@ ENV TZ=Asia/Seoul
4
4
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
5
5
ENV DEBIAN_FRONTEND=noninteractive
6
6
7
- # # 기본 패키지 설치
7
+ # 기본 패키지 설치
8
8
RUN apt-get update && apt-get install --no-install-recommends -y \
9
- build-essential cmake git curl wget unzip pkg-config \
10
- libeigen3-dev libboost-all-dev libflann-dev \
11
- libqhull-dev libusb-1.0-0-dev \
12
- libgl1-mesa-dev libxmu-dev libxi-dev \
13
- libyaml-cpp-dev \
14
- python3 python3-pip python3-dev \
9
+ build-essential cmake git curl sudo wget unzip pkg-config \
10
+ software-properties-common htop nano wget cppcheck systemd init \
11
+ pkg-config lsb-release libtool automake bison flex ruby \
15
12
&& apt-get clean
16
13
17
14
# MiniConda 설치
18
- RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-aarch64.sh && pwd \
15
+ RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-aarch64.sh --no-check-certificate && \
19
16
chmod +x /Miniconda3-latest-Linux-aarch64.sh && \
20
17
bash /Miniconda3-latest-Linux-aarch64.sh -b -p /opt/conda && \
21
18
rm /Miniconda3-latest-Linux-aarch64.sh
22
- ENV PATH /opt/conda/bin:$PATH
19
+ ENV PATH= /opt/conda/bin:$PATH
23
20
24
- RUN conda install python jupyter pip
21
+ RUN conda install -y python=3.10 pip
25
22
RUN conda clean -ya
26
23
RUN echo "export PATH=/opt/conda/bin:\$ PATH" > /etc/profile.d/conda.sh
27
24
ENV PYTHONUNBUFFERED=1
28
25
29
26
# pip 패키지 설치
30
- RUN pip install --upgrade pip && \
27
+ RUN pip install --root-user-action=ignore -- upgrade pip && \
31
28
pip install --root-user-action=ignore \
32
29
numpy cython wheel \
33
- torch torchvision torchaudio \
30
+ torch torchvision torchaudio open3d \
34
31
scikit-learn matplotlib tqdm \
35
32
&& rm -rf ~/.cache/pip
36
33
37
34
# YOLO 설치
38
35
RUN git clone https://github.com/ultralytics/ultralytics.git /yolo && \
39
36
pip install -e /yolo
40
37
41
- # PCL 소스 설치
42
- WORKDIR /tmp
43
- RUN wget https://github.com/PointCloudLibrary/pcl/releases/download/pcl-1.15.0/source.tar.gz && \
44
- tar -xvzf source.tar.gz && cd pcl && mkdir build && cd build && \
45
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr && \
46
- make -j$(nproc) && make install
47
-
48
38
# 유저 생성
49
39
ARG USER=ioes
50
40
SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
0 commit comments