Skip to content

Commit 8c44af9

Browse files
authored
Create image for use in ML pipelines (#50)
1 parent f48bab4 commit 8c44af9

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

.github/workflows/containers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
matrix:
3636
dockerfile: [[e4s-ubuntu-18.04, e4s-ubuntu-18.04.dockerfile, 'linux/amd64,linux/ppc64le,linux/arm64'],
3737
[e4s-ubuntu-20.04, e4s-ubuntu-20.04.dockerfile, 'linux/amd64,linux/ppc64le,linux/arm64'],
38+
[ubuntu-22.04, ubuntu-22.04.dockerfile, 'linux/amd64,linux/ppc64le,linux/arm64'],
3839
[linux-ubuntu22.04-x86_64_v2, linux-ubuntu22.04-x86_64_v2/Dockerfile, 'linux/amd64'],
3940
[tutorial-ubuntu-22.04, tutorial-ubuntu-22.04/Dockerfile, 'linux/amd64'],
4041
[e4s-amazonlinux-2, e4s-amazonlinux-2.dockerfile, 'linux/amd64,linux/arm64'],

Dockerfiles/ubuntu-22.04.dockerfile

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
FROM ubuntu:22.04
2+
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
ENV TZ=America/Los_Angeles
5+
6+
RUN apt update -y \
7+
&& apt upgrade -y \
8+
&& apt install -y \
9+
autoconf \
10+
automake \
11+
bzip2 \
12+
cpio \
13+
curl \
14+
file \
15+
findutils \
16+
g++ \
17+
gcc \
18+
gettext \
19+
gfortran \
20+
git \
21+
gpg \
22+
iputils-ping \
23+
jq \
24+
libffi-dev \
25+
libssl-dev \
26+
libxml2-dev \
27+
locales \
28+
locate \
29+
m4 \
30+
make \
31+
mercurial \
32+
ncurses-dev \
33+
patch \
34+
patchelf \
35+
pciutils \
36+
python3-pip \
37+
rsync \
38+
unzip \
39+
wget \
40+
zlib1g-dev \
41+
&& locale-gen en_US.UTF-8 \
42+
&& apt autoremove --purge \
43+
&& apt clean \
44+
&& ln -s /usr/bin/gpg /usr/bin/gpg2 \
45+
&& ln -s `which python3` /usr/bin/python
46+
47+
RUN python -m pip install --upgrade pip setuptools wheel \
48+
&& python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \
49+
&& rm -rf ~/.cache
50+
51+
CMD ["/bin/bash"]
52+
53+
ENV NVIDIA_VISIBLE_DEVICES=all \
54+
NVIDIA_DRIVER_CAPABILITIES=compute,utility \
55+
LANGUAGE=en_US:en \
56+
LANG=en_US.UTF-8 \
57+
LC_ALL=en_US.UTF-8

0 commit comments

Comments
 (0)