Skip to content

Commit 2977228

Browse files
committed
build: Remove /enclave-cc from the final image
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 <fabiano.fidencio@intel.com>
1 parent ee0d34e commit 2977228

File tree

1 file changed

+1
-1
lines changed
  • tools/packaging/build/agent-enclave-bundle

1 file changed

+1
-1
lines changed

tools/packaging/build/agent-enclave-bundle/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ WORKDIR /run/rune
8080
RUN tar xzf /run/enclave-agent/occlum_instance/occlum_instance.tar.gz && \
8181
rm -rf /run/enclave-agent
8282

83-
RUN rm -rf $HOME/.cargo $HOME/.rustup
83+
RUN rm -rf $HOME/.cargo $HOME/.rustup /enclave-cc
8484
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
8585
RUN echo "/run/rune/occlum_instance/build/lib/" | tee /etc/ld.so.conf.d/occlum-pal.conf && \
8686
echo "/opt/sgxsdk/lib64" | tee /etc/ld.so.conf.d/sgxsdk.conf && \

0 commit comments

Comments
 (0)