Skip to content

Commit

Permalink
[fix] rm apt cmd in bs
Browse files Browse the repository at this point in the history
debian9 eol. rm apt cmd
It will cause the execution of modprobe nbd to fail when the bs client
container restarts.

Signed-off-by: Cyber-SiKu <[email protected]>
  • Loading branch information
Cyber-SiKu committed Jul 4, 2023
1 parent 73defb0 commit 4caa027
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/debian9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
FROM opencurvedocker/curve-base:debian9
COPY --from=opencurvedocker/curve-base:curve-tgt-debian9 /curve-tgt/ /curve-tgt/
COPY --from=opencurvedocker/curve-base:curve-tgt-debian9 /curve/curve-sdk /curve-tgt/curve-sdk
RUN apt update \
&& apt install -y kmod \
&& cd /curve-tgt/curve-sdk \
RUN cd /curve-tgt/curve-sdk \
&& cp -f lib/* /usr/lib \
&& cp -f bin/* /usr/bin \
&& mkdir -p /usr/curvefs \
Expand Down

0 comments on commit 4caa027

Please sign in to comment.