-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update ubuntu and python version in docker file
- Loading branch information
jmorat
committed
Feb 29, 2024
1 parent
5073d4e
commit ba40687
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#FROM ubuntu:18.04 | ||
FROM nvidia/cudagl:10.0-devel-ubuntu18.04 | ||
#FROM nvcr.io/nvidia/cuda:12.3.1-devel-ubuntu22.04 | ||
FROM ubuntu:22.04 | ||
MAINTAINER naverlabs "[email protected]" | ||
|
||
# set local (see more on https://leimao.github.io/blog/Docker-Locale/) | ||
|
@@ -12,12 +12,11 @@ ARG MAKE_OPTIONS="-j8" | |
ARG SOURCE_PREFIX="/opt/src" | ||
|
||
# Get dependencies | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
git wget curl \ | ||
python3.6 python3-pip python3.6-dev \ | ||
pandoc asciidoctor \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
git wget curl pandoc asciidoctor \ | ||
python3 python3-pip python3-dev && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# make sure pip 3 is >= 20.0 to enable use-feature=2020-resolver | ||
RUN python3 -m pip install --upgrade pip | ||
|