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

update wedpr-mpc-service base image #118

Merged
Show file tree
Hide file tree
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: 4 additions & 8 deletions .github/workflows/cpp_full_node_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,17 @@ jobs:
echo "Disk usage before delete files: "`df -lh`
du -sch ${{ env.VCPKG_ROOT }}/buildtrees/*
du -sch ${{ env.VCPKG_ROOT }}/buildtrees/grpc/src/*
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/grpc/src
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/grpc/*-dbg
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/krb5/src
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/gsasl/src
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/protobuf/src
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/wedprcrypto/src
rm -rf ${{ env.VCPKG_ROOT }}buildtrees/openssl/src
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/*/src
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/*/*-dbg
rm -rf ${{ env.VCPKG_ROOT }}/buildtrees/*/*-rel
echo "Disk usage after delete files: "`df -lh`
make -j3
- name: Build for macOS
if: runner.os == 'macOS'
run: |
bash -x cpp/tools/install_depends.sh -o macos
brew install libiconv m4 automake autoconf libtool
brew install libiconv
brew reinstall m4 autoconf libtool automake
echo "## m4:"`which m4`
export DYLD_LIBRARY_PATH=/usr/local/opt/libiconv/lib:${DYLD_LIBRARY_PATH}
export LDFLAGS="-L/usr/local/opt/libiconv/lib"
Expand Down
2 changes: 1 addition & 1 deletion docker-files/cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ COPY --from=builder /WeDPR-Component/cpp/build/bin/ppc-pro-node /data/home/wedpr

ENTRYPOINT ["/data/home/wedpr/wedpr-pro-node-service/ppc-pro-node", "-c", "config.ini"]

FROM ubuntu:22.04 as wedpr-mpc-service
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 krb5-user \
Expand Down
Loading