Skip to content

Commit ae42de2

Browse files
committed
update platform
1 parent 84649b4 commit ae42de2

4 files changed

Lines changed: 30 additions & 17 deletions

File tree

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
context: .
2828
file: ./Dockerfile
2929
push: true
30-
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm/v5,linux/386
30+
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm/v5,linux/386,linux/ppc64le,linux/riscv64,linux/s390x
3131
tags: tomopiro/netperf:latest

Dockerfile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
FROM debian:13.3-slim AS wrk2
2-
3-
RUN apt update \
4-
&& apt install -y \
5-
build-essential \
6-
libssl-dev \
7-
zlib1g-dev \
8-
git
9-
10-
RUN git clone https://github.com/giltene/wrk2.git \
11-
&& cd wrk2 \
12-
&& make
13-
141
FROM debian:13.3-slim
152

16-
COPY --from=wrk2 /wrk2/wrk /usr/local/bin/wrk2
17-
183
RUN sed -i -e 's/main/main non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources \
194
&& apt update \
205
&& apt install -y \

Dockerfile_with_wrk2

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM debian:13.3-slim AS wrk2
2+
3+
RUN apt update \
4+
&& apt install -y \
5+
build-essential \
6+
libssl-dev \
7+
zlib1g-dev \
8+
git
9+
10+
RUN git clone https://github.com/giltene/wrk2.git \
11+
&& cd wrk2 \
12+
&& make
13+
14+
FROM debian:13.3-slim
15+
16+
COPY --from=wrk2 /wrk2/wrk /usr/local/bin/wrk2
17+
18+
RUN sed -i -e 's/main/main non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources \
19+
&& apt update \
20+
&& apt install -y \
21+
vim \
22+
wrk \
23+
curl \
24+
iperf \
25+
iperf3 \
26+
netperf \
27+
net-tools \
28+
&& apt-get clean \
29+
&& rm -rf /var/lib/apt/lists/*

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ The container is available at [DockerHub](https://hub.docker.com/r/tomopiro/netp
1313
## What's in the container
1414

1515
- [**wrk**](https://github.com/wg/wrk)
16-
- [**wrk2**](https://github.com/giltene/wrk2)
1716
- [**iperf2**](https://sourceforge.net/projects/iperf2/)
1817
- [**iperf3**](https://github.com/esnet/iperf)
1918
- [**netperf**](https://github.com/HewlettPackard/netperf)

0 commit comments

Comments
 (0)