Skip to content

Commit 31041aa

Browse files
committed
replace nvidia-docker with docker
1 parent 509da0a commit 31041aa

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

Dockerfile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,16 @@
1717
# sudo docker run -d -p 7861:7861 --gpus all --name omniparser-container omniparser
1818
# ```
1919
#
20-
# Author: Richard Abrich (@OpenAdaptAI)
20+
# Author: Richard Abrich ([email protected])
2121

2222
FROM nvidia/cuda:12.3.1-devel-ubuntu22.04
2323

2424
# Install system dependencies with explicit OpenGL libraries
2525
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
26-
#git \
2726
git-lfs \
2827
wget \
29-
#libgl1 \
30-
#libglib2.0-0 \
31-
#libsm6 \
32-
#libxext6 \
33-
#libxrender1 \
34-
#libglu1-mesa \
35-
#libglib2.0-0 \
36-
#libsm6 \
37-
#libxrender1 \
38-
#libxext6 \
39-
#python3-opencv \
28+
libgl1 \
29+
libglib2.0-0 \
4030
&& apt-get clean \
4131
&& rm -rf /var/lib/apt/lists/* \
4232
&& git lfs install

docker-build-ec2.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
sudo docker rm {{ project_name }}-container || true
3434

3535
# Build the Docker image
36-
sudo nvidia-docker build -t {{ project_name }} .
36+
sudo docker build -t {{ project_name }} .
3737

3838
# Run the Docker container on the specified port
3939
sudo docker run -d -p 7861:7861 --gpus all --name {{ project_name }}-container {{ project_name }}

0 commit comments

Comments
 (0)