Commit 09cdf8c 1 parent 9527c66 commit 09cdf8c Copy full SHA for 09cdf8c
File tree 2 files changed +4
-13
lines changed
2 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
47
47
run : docker image push 565979732541.dkr.ecr.us-east-1.amazonaws.com/spdk-core:$BRANCH_NAME-amd64
48
48
- name : Create the manifest
49
49
run : |
50
- docker manifest create simplyblock/spdk-core:$BRANCH_NAME-latest simplyblock/spdk-core:arm64 simplyblock/spdk-core:$BRANCH_NAME-amd64
50
+ docker manifest create simplyblock/spdk-core:$BRANCH_NAME-latest simplyblock/spdk-core:$BRANCH_NAME- arm64 simplyblock/spdk-core:$BRANCH_NAME-amd64
51
51
docker manifest create 565979732541.dkr.ecr.us-east-1.amazonaws.com/spdk-core:$BRANCH_NAME-latest 565979732541.dkr.ecr.us-east-1.amazonaws.com/spdk-core:$BRANCH_NAME-arm64 565979732541.dkr.ecr.us-east-1.amazonaws.com/spdk-core:$BRANCH_NAME-amd64
52
52
docker manifest annotate simplyblock/spdk-core:$BRANCH_NAME-latest simplyblock/spdk-core:$BRANCH_NAME-arm64 --arch arm64
53
53
docker manifest annotate simplyblock/spdk-core:$BRANCH_NAME-latest simplyblock/spdk-core:$BRANCH_NAME-amd64 --arch amd64
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