Skip to content
Snippets Groups Projects
Commit 164d5bfb authored by Maciej Wielgosz's avatar Maciej Wielgosz
Browse files

update of the docker for oracle deploy

parent b25fbf01
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,17 @@ ARG UBUNTU_VER=20.04
ARG CONDA_VER=latest
ARG OS_TYPE=x86_64
RUN apt-get update && apt-get install -y --no-install-recommends curl
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
sudo \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender-dev \
libsndfile1 \
libtiff5 \
&& rm -rf /var/lib/apt/lists/*
RUN curl -LO "http://repo.continuum.io/miniconda/Miniconda3-${CONDA_VER}-Linux-${OS_TYPE}.sh" && \
bash Miniconda3-${CONDA_VER}-Linux-${OS_TYPE}.sh -p /miniconda -b && \
......@@ -20,17 +30,19 @@ SHELL ["/miniconda/bin/conda", "run", "-n", "pdal-env", "/bin/bash", "-c"]
RUN echo "conda activate pdal-env" >> ~/.bashrc
RUN conda install -c conda-forge pdal python-pdal
RUN conda install -c conda-forge pdal==2.4.3 python-pdal==3.1.2
RUN pip install parse oci ocifs
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache -r /app/requirements.txt
COPY requirements.txt app/requirements.txt
RUN pip install --no-cache -r app/requirements.txt
COPY . /app
ENTRYPOINT ["/miniconda/bin/conda", "run", "-n", "pdal-env", "python", "/app/run.py"]
# ENTRYPOINT ["/miniconda/bin/conda", "run", "-n", "pdal-env", "python", "/app/run_oracle_wrapper.py"]
WORKDIR /app
CMD ["--help" ]
# CMD ["--help" ]
#/bin/sh
docker build -t nibio/cuda-vscode-conda:latest .
docker build -t nibio/pc-geoslam-oracle:latest .
......@@ -3,7 +3,7 @@ general:
output_folder: './maciek_results'
clean_output_folder: true
run_sematic_segmentation: true
run_instance_segmentation: true
run_instance_segmentation: false
label_formats:
label_for_instances_in_gt: 'treeID'
label_for_instances_in_predicted: 'instance_nr'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment