Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rustc to OS dependencies #975

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker/dockerfiles/Dockerfile.onnx.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apt update -y && apt install -y \
git \
libgdal-dev \
cmake \
rustc \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.cpu.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN apt update -y && apt install -y \
git \
libgdal-dev \
cmake \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.cpu.parallel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN apt update -y && apt install -y \
python3-pip \
git \
libgdal-dev \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.cpu.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN apt update -y && apt install -y \
git \
libgdal-dev \
cmake \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*


Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.cpu.stream_manager
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN apt update -y && apt install -y \
git \
libgdal-dev \
cmake \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.cpu.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update -y && DEBIAN_
git \
libgdal-dev \
wget \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.gpu.dev
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update -y && DEBIAN_
git \
libgdal-dev \
wget \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.gpu.parallel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update -y && DEBIAN_
uvicorn \
python3-pip \
git \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.gpu.slim
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update -y && DEBIAN_
python3-pip \
git \
libgdal-dev \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.http.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.gpu.stream_manager
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update -y && DEBIAN_
python3-pip \
git \
libgdal-dev \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.http.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.jetson.4.5.0
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
gdal-bin \
libgdal-dev \
python3-setuptools \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.clip.txt \
Expand Down
5 changes: 4 additions & 1 deletion docker/dockerfiles/Dockerfile.onnx.jetson.4.6.1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
libffi-dev \
curl \
libbz2-dev \
software-properties-common
software-properties-common \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

RUN wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz && tar -xf Python-3.9.0.tar.xz && rm Python-3.9.0.tar.xz
WORKDIR ./Python-3.9.0
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.jetson.5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ RUN apt-get update -y && apt-get install -y \
python3-shapely \
gdal-bin \
libgdal-dev \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.clip.txt \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ RUN apt-get update -y && apt-get install -y \
python3-shapely \
gdal-bin \
libgdal-dev \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.clip.txt \
Expand Down
6 changes: 4 additions & 2 deletions docker/dockerfiles/Dockerfile.onnx.jetson.6.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ RUN apt-get update -y && \
libxext6 \
wget \
gdal-bin \
libgdal-dev && \
rm -rf /var/lib/apt/lists/*
libgdal-dev \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

# Copy all requirements files
COPY requirements/ ./requirements/
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.lambda
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN yum update -y && yum install -y \
mesa-libGL \
pango \
wget \
rustc \
cargo \
&& yum clean all

COPY requirements/requirements.clip.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.lambda.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ RUN yum update -y && yum install -y \
gcc \
mesa-libGL \
pango \
rustc \
cargo \
&& yum clean all

COPY requirements/requirements.cpu.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.trt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ RUN apt-get update -y && apt-get install -y \
libxext6 \
libopencv-dev \
uvicorn \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.onnx.udp.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y \
uvicorn \
python3-pip \
git \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.sam.txt \
Expand Down
2 changes: 2 additions & 0 deletions docker/dockerfiles/Dockerfile.stream_management_api
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN apt update -y && apt install -y \
git \
libgdal-dev \
cmake \
rustc \
cargo \
&& rm -rf /var/lib/apt/lists/*

COPY requirements/requirements.http.txt \
Expand Down