Skip to content

Commit

Permalink
install python to wedpr-mpc
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 13, 2024
1 parent 9db50a8 commit d0d40bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-files/cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@ CMD ["--version"]
FROM fiscoorg/wedpr-mpc-base-ubuntu:v3.0.0 as wedpr-mpc-service
LABEL [email protected]

RUN apt-get -q update && apt-get install -qy --no-install-recommends vim libkrb5-dev \
RUN apt-get -q update && apt-get install -qy --no-install-recommends vim libkrb5-dev python3.11 python3-pip python3-dev telnet tcpdump \
&& rm -f /usr/bin/python && ln -s /usr/bin/python3.11 /usr/bin/python \
&& rm -f /usr/bin/python3 && ln -s /usr/bin/python3.11 /usr/bin/python3 \
&& ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& apt-get install -qy --no-install-recommends tzdata \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& rm -rf /var/lib/apt/lists/*


COPY --from=builder /WeDPR-Component/cpp/build/bin/wedpr-mpc /usr/local/bin/wedpr-mpc

ENTRYPOINT ["/usr/local/bin/wedpr-mpc"]
Expand Down

0 comments on commit d0d40bd

Please sign in to comment.