Skip to content

Commit

Permalink
Dockerfile: temporarily change dependencies
Browse files Browse the repository at this point in the history
Longhorn 7672

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Feb 16, 2024
1 parent c79349d commit 0bc2633
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN wget -O - https://storage.googleapis.com/golang/go1.21.3.linux-${!GOLANG_ARC
go install golang.org/x/lint/golint@latest

ENV GO_SPDK_HELPER_DIR /usr/src/go-spdk-helper
ENV GO_SPDK_HELPER_ID c3d5c5b721ba3f805a8cef7697c4889e51648bdf
ENV GO_SPDK_HELPER_ID 3c42253cb60f9226fc298e2f0e5897f4c9bd3fb0
RUN git clone https://github.com/derekbit/go-spdk-helper.git ${GO_SPDK_HELPER_DIR} && \
cd ${GO_SPDK_HELPER_DIR} && \
git checkout ${GO_SPDK_HELPER_ID} && \
Expand Down Expand Up @@ -46,14 +46,14 @@ RUN cd /usr/src && \

# Build SPDK
ENV SPDK_DIR /usr/src/spdk
ENV SPDK_COMMIT_ID 08065a53990c096282245efe02b75ba59b501efe
ENV SPDK_COMMIT_ID 4e03f4657556d7af119155df22b631ad38cdd234
RUN git clone https://github.com/derekbit/spdk.git ${SPDK_DIR} --recursive && \
cd ${SPDK_DIR} && \
git checkout ${SPDK_COMMIT_ID} && \
git submodule update --init && \
./scripts/pkgdep.sh && \
if [ ${ARCH} = "amd64" ]; then \
./configure --target-arch=nehalem --disable-tests --disable-unit-tests --disable-examples && \
./configure --target-arch=nehalem --disable-tests --disable-unit-tests --disable-examples --enable-debug && \
make -j$(nproc) && \
make install; \
elif [ ${ARCH} = "arm64" ]; then \
Expand Down

0 comments on commit 0bc2633

Please sign in to comment.