Skip to content

Commit

Permalink
ci: add cuda build deps to docker images (#457)
Browse files Browse the repository at this point in the history
## What ❔

See subj

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
  • Loading branch information
otani88 authored Nov 9, 2023
1 parent 1b31008 commit 45da4f9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
14 changes: 8 additions & 6 deletions docker/zk-environment/20.04_amd64_cuda_11_8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ RUN apt-get update && apt-get install -y \
jq \
openssh-server \
openssh-client \
wget \
vim \
ca-certificates \
gnupg2 \
postgresql-client \
wget \
bzip2
bzip2 \
unzip \
hub

# Install dependencies for RocksDB. `liburing` is not available for Ubuntu 20.04,
# so we use a PPA with the backport
Expand All @@ -35,10 +36,11 @@ RUN add-apt-repository ppa:savoury1/virtualisation && \
curl \
gnutls-bin git \
build-essential \
clang-7 \
lldb-7 \
lld-7 \
liburing-dev
clang \
lldb \
lld \
liburing-dev \
libclang-dev

# Install docker engine
RUN wget -c -O - https://download.docker.com/linux/ubuntu/gpg | apt-key add -
Expand Down
16 changes: 9 additions & 7 deletions docker/zk-environment/20.04_amd64_cuda_12_0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,22 @@ RUN apt-get update && apt-get install -y \
vim \
ca-certificates \
gnupg2 \
postgresql-client
postgresql-client \
hub \
unzip

# Install dependencies for RocksDB. `liburing` is not available for Ubuntu 20.04,
# so we use a PPA with the backport
RUN add-apt-repository ppa:savoury1/virtualisation && \
apt-get update && \
apt-get install -y \
curl \
gnutls-bin git \
gnutls-bin \
build-essential \
clang-7 \
lldb-7 \
lld-7 \
liburing-dev
clang \
lldb\
lld \
liburing-dev \
libclang-dev

# Install docker engine
RUN wget -c -O - https://download.docker.com/linux/ubuntu/gpg | apt-key add -
Expand Down
11 changes: 6 additions & 5 deletions docker/zk-environment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,29 @@ RUN apt-get update && apt-get install -y \
jq \
openssh-server \
openssh-client \
wget \
vim \
ca-certificates \
gnupg2 \
postgresql-client \
wget \
bzip2
bzip2 \
hub \
unzip

# Install dependencies for RocksDB.
RUN apt-get update && \
apt-get install -y \
curl \
gnutls-bin git \
build-essential \
clang-15 \
lldb-15 \
lld-15 \
liburing-dev
liburing-dev \
libclang-dev

# Install Docker
RUN apt-get update && \
apt-get install ca-certificates curl gnupg && \
apt-get install ca-certificates gnupg && \
install -m 0755 -d /etc/apt/keyrings && \
wget -c -O - https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
chmod a+r /etc/apt/keyrings/docker.gpg && \
Expand Down

0 comments on commit 45da4f9

Please sign in to comment.