Commit 0d1d6d8 1 parent 309e82a commit 0d1d6d8 Copy full SHA for 0d1d6d8
File tree 3 files changed +4
-13
lines changed
3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 18
18
19
19
20
20
- name : Build the docker image
21
- run : docker build --file docker/Dockerfile_spdk --tag simplyblock/spdk-core:BRANCH_NAME-amd64 .
21
+ run : docker build --file docker/Dockerfile_spdk --tag simplyblock/spdk-core:$ BRANCH_NAME-amd64 .
22
22
23
23
- name : Login to Docker Hub
24
24
uses : docker/login-action@v1
Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ RUN sed -i "s/^#define SPDK_BDEV_QOS_MIN_IOS_PER_SEC.*/#define SPDK_BDEV_QOS_MIN
24
24
25
25
RUN sed -i "s/^#define SPDK_BDEV_QOS_TIMESLICE_IN_USEC.*/#define SPDK_BDEV_QOS_TIMESLICE_IN_USEC\t5000/" /root/spdk/lib/bdev/bdev.c
26
26
27
- RUN cd spdk && ./configure --with-crypto --with-rdma --disable-tests --disable-unit-tests --disable-examples --with-ocf --with-fuse --with-nvme-cuse
27
+ RUN cd spdk && ./configure --with-crypto --with-rdma --disable-tests --disable-unit-tests --disable-examples --with-ocf --with-fuse --with-nvme-cuse --target-arch=nehalem
28
28
29
29
RUN cd spdk && make --no-builtin-rules -j16
Original file line number Diff line number Diff line change 1
1
FROM fedora:37
2
2
3
- # push to "simplyblock/spdk-core:latest "
3
+ # push to "simplyblock/spdk-core:$TAG "
4
4
5
5
USER root
6
6
7
7
WORKDIR /root
8
8
9
- COPY api api/
10
- COPY scripts scripts/
9
+ COPY ./ /root/spdk/
11
10
12
11
RUN dnf install -y git diffutils procps-ng pip kmod hostname wget pkg-config cmake nano systemd-udev
13
12
14
- #RUN wget https://github.com/apple/foundationdb/releases/download/7.3.3/foundationdb-clients-7.3.3-1.el7.x86_64.rpm
15
- #RUN rpm -Uvh foundationdb-clients-7.3.3-1.el7.x86_64.rpm
16
- #RUN rm -f foundationdb-clients-7.3.3-1.el7.x86_64.rpm
17
-
18
- RUN git clone https://github.com/simplyblock-io/spdk --depth 1 -b v24.05
19
-
20
13
RUN cd spdk && git submodule update --init --depth 1
21
14
22
15
RUN cd spdk && scripts/pkgdep.sh --rdma --pmem
@@ -25,8 +18,6 @@ RUN mkdir /tmp/pmem
25
18
26
19
RUN pip3 install grpcio-tools==1.51.3 protobuf==4.22.1
27
20
28
- RUN pip3 install -r /root/api/requirements.txt
29
-
30
21
RUN sed -i "s/^#define SPDK_JSONRPC_RECV_BUF_SIZE.*/#define SPDK_JSONRPC_RECV_BUF_SIZE\t(32 * 1024 * 1024)/" /root/spdk/lib/jsonrpc/jsonrpc_internal.h
31
22
32
23
RUN sed -i "s/^#define SPDK_BDEV_QOS_MIN_IOS_PER_SEC.*/#define SPDK_BDEV_QOS_MIN_IOS_PER_SEC\t200/" /root/spdk/lib/bdev/bdev.c
You can’t perform that action at this time.
0 commit comments