Skip to content

Commit f605cd6

Browse files
committed
save
1 parent 8883b33 commit f605cd6

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

Dockerfile

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,37 @@ ENV TZ=Asia/Seoul
44
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
55
ENV DEBIAN_FRONTEND=noninteractive
66

7-
# # 기본 패키지 설치
7+
# 기본 패키지 설치
88
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 \
1512
&& apt-get clean
1613

1714
# 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 && \
1916
chmod +x /Miniconda3-latest-Linux-aarch64.sh && \
2017
bash /Miniconda3-latest-Linux-aarch64.sh -b -p /opt/conda && \
2118
rm /Miniconda3-latest-Linux-aarch64.sh
22-
ENV PATH /opt/conda/bin:$PATH
19+
ENV PATH=/opt/conda/bin:$PATH
2320

24-
RUN conda install python jupyter pip
21+
RUN conda install -y python=3.10 pip
2522
RUN conda clean -ya
2623
RUN echo "export PATH=/opt/conda/bin:\$PATH" > /etc/profile.d/conda.sh
2724
ENV PYTHONUNBUFFERED=1
2825

2926
# pip 패키지 설치
30-
RUN pip install --upgrade pip && \
27+
RUN pip install --root-user-action=ignore --upgrade pip && \
3128
pip install --root-user-action=ignore \
3229
numpy cython wheel \
33-
torch torchvision torchaudio \
30+
torch torchvision torchaudio open3d \
3431
scikit-learn matplotlib tqdm \
3532
&& rm -rf ~/.cache/pip
3633

3734
# YOLO 설치
3835
RUN git clone https://github.com/ultralytics/ultralytics.git /yolo && \
3936
pip install -e /yolo
4037

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-
4838
# 유저 생성
4939
ARG USER=ioes
5040
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# 자동빌드된 이미지 받으려면
32

43
```bash

import_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import numpy as np
2+
from sklearn.cluster import DBSCAN
3+
import matplotlib.pyplot as plt
4+
import torch
5+
from PIL import Image
6+
7+
print("import test done.")

0 commit comments

Comments
 (0)