Skip to content

Commit

Permalink
build: Remove /enclave-cc from the final image
Browse files Browse the repository at this point in the history
This was also added by fcbf7c9 and
causes a /enclave-cc directory, with the enclave-cc source code,
vendors, whatnot to be left as part of the agent-instance.tar.

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Jan 18, 2023
1 parent ee0d34e commit 2977228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/packaging/build/agent-enclave-bundle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ WORKDIR /run/rune
RUN tar xzf /run/enclave-agent/occlum_instance/occlum_instance.tar.gz && \
rm -rf /run/enclave-agent

RUN rm -rf $HOME/.cargo $HOME/.rustup
RUN rm -rf $HOME/.cargo $HOME/.rustup /enclave-cc
RUN apt-get purge -y wget gnupg tzdata jq occlum occlum-toolchains-glibc make binutils libfuse2 libfuse3-3 ca-certificates rsync build-essential cmake git && apt-get autoremove -y
RUN echo "/run/rune/occlum_instance/build/lib/" | tee /etc/ld.so.conf.d/occlum-pal.conf && \
echo "/opt/sgxsdk/lib64" | tee /etc/ld.so.conf.d/sgxsdk.conf && \
Expand Down

0 comments on commit 2977228

Please sign in to comment.