WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit e0192c7

Browse files
committed
chore: add docker image for ib tools
Signed-off-by: Dmitry Shmulevich <[email protected]>
1 parent 9d3e3e3 commit e0192c7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on: workflow_dispatch
1010
env:
1111
REGISTRY: ghcr.io
1212
# github.repository as <account>/<repo>
13-
IMAGE_NAME: ${{ github.repository }}
13+
IMAGE_NAME: ${{ github.repository }}/ib
1414

1515
jobs:
1616
build:
@@ -58,7 +58,7 @@ jobs:
5858
uses: docker/build-push-action@v6
5959
with:
6060
context: .
61-
file: ./Dockerfile
61+
file: ./Dockerfile.ib
6262
push: ${{ github.event_name != 'pull_request' }}
6363
#build-args: |
6464
# TARGETOS=linux

Dockerfile.ib

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM debian:stable-slim
2+
3+
# Install dependencies and ibnetdiscover
4+
RUN apt-get update && \
5+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
6+
infiniband-diags ibutils \
7+
&& apt-get clean \
8+
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)