-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create image for use in ML pipelines (#50)
- Loading branch information
1 parent
f48bab4
commit 8c44af9
Showing
2 changed files
with
58 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=America/Los_Angeles | ||
|
||
RUN apt update -y \ | ||
&& apt upgrade -y \ | ||
&& apt install -y \ | ||
autoconf \ | ||
automake \ | ||
bzip2 \ | ||
cpio \ | ||
curl \ | ||
file \ | ||
findutils \ | ||
g++ \ | ||
gcc \ | ||
gettext \ | ||
gfortran \ | ||
git \ | ||
gpg \ | ||
iputils-ping \ | ||
jq \ | ||
libffi-dev \ | ||
libssl-dev \ | ||
libxml2-dev \ | ||
locales \ | ||
locate \ | ||
m4 \ | ||
make \ | ||
mercurial \ | ||
ncurses-dev \ | ||
patch \ | ||
patchelf \ | ||
pciutils \ | ||
python3-pip \ | ||
rsync \ | ||
unzip \ | ||
wget \ | ||
zlib1g-dev \ | ||
&& locale-gen en_US.UTF-8 \ | ||
&& apt autoremove --purge \ | ||
&& apt clean \ | ||
&& ln -s /usr/bin/gpg /usr/bin/gpg2 \ | ||
&& ln -s `which python3` /usr/bin/python | ||
|
||
RUN python -m pip install --upgrade pip setuptools wheel \ | ||
&& python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ | ||
&& rm -rf ~/.cache | ||
|
||
CMD ["/bin/bash"] | ||
|
||
ENV NVIDIA_VISIBLE_DEVICES=all \ | ||
NVIDIA_DRIVER_CAPABILITIES=compute,utility \ | ||
LANGUAGE=en_US:en \ | ||
LANG=en_US.UTF-8 \ | ||
LC_ALL=en_US.UTF-8 |