Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dockerfile): update nfs-ganesha to v5.9 #257

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ RUN zypper -n install autoconf bison curl cmake doxygen make git gcc-c++ flex Me
tar gzip dbus-1-devel lsb-release graphviz-devel libnsl-devel libcurl-devel libjson-c-devel libacl-devel && \
rm -rf /var/cache/zypp/*

RUN curl -L https://github.com/rancher/nfs-ganesha/archive/refs/tags/v5_20240430.tar.gz | tar zx \
&& curl -L https://github.com/nfs-ganesha/ntirpc/archive/v5.0.tar.gz | tar zx \
&& mv nfs-ganesha-5_20240430 nfs-ganesha-5.7 \
&& rm -r nfs-ganesha-5.7/src/libntirpc \
&& mv ntirpc-5.0 nfs-ganesha-5.7/src/libntirpc
WORKDIR /nfs-ganesha-5.7
RUN curl -L https://github.com/rancher/nfs-ganesha/archive/refs/tags/v5_20240716.tar.gz | tar zx \
&& curl -L https://github.com/nfs-ganesha/ntirpc/archive/refs/tags/v5.8.tar.gz | tar zx \
Copy link
Member

@innobead innobead Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is ntiprc independently released from nfs-ganesha release? so there is no one in the release, so we need to copy it from ntirpc release instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, ntiprc is an independent release. We always need to copy it to nfs-ganesha.
I think ntiprc 5.0 is too old, so I update it together.

&& mv nfs-ganesha-5_20240716 nfs-ganesha-5.9 \
&& rm -r nfs-ganesha-5.9/src/libntirpc \
&& mv ntirpc-5.8 nfs-ganesha-5.9/src/libntirpc
WORKDIR /nfs-ganesha-5.9


# build ganesha only supporting nfsv4 and vfs
Expand Down