Skip to content

Commit 297d258

Browse files
authored
refactor: remove unused kernel modules (#31)
1 parent a8d07b3 commit 297d258

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

base-image/Dockerfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@ RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu foc
122122
libtdx-attest-dev=1.20.100.2-focal1 \
123123
libsgx-dcap-default-qpl
124124

125-
##install msr in docker
126-
COPY --from=build /cvm-agent/cvmassistants/keyprovider/key-provider-agent/modules/msr.ko /workplace/cvm-agent/cvmassistants/keyprovider
127-
RUN apt-get install -y kmod msr-tools
128-
# && insmod /workplace/cvm-agent/cvmassistants/keyprovider/msr.ko
129-
130125
COPY --from=build /cvm-agent/cvmassistants/keyprovider/key-provider-agent/key_provider_agent /workplace/cvm-agent/cvmassistants/keyprovider
131126
COPY --from=build /usr/local/lib/rats-tls/ /usr/lib/
132127
COPY --from=build /usr/local/lib/rats-tls/ /usr/local/lib/rats-tls/
@@ -153,11 +148,6 @@ RUN mkdir -p /workplace/cvm-agent/cvmassistants/firewall \
153148
&& mkdir -p /lib/modules \
154149
&& apt install -y iptables ufw unzip
155150

156-
RUN cd /lib/modules \
157-
&& wget http://47.110.140.182:8080/9rOfG8/5.4.117-csv.zip \
158-
&& unzip 5.4.117-csv.zip \
159-
&& rm -f 5.4.117-csv.zip
160-
161151
COPY --from=build /cvm-agent/cvmassistants/firewall /workplace/cvm-agent/cvmassistants/firewall
162152

163153
WORKDIR /workplace/app
-9.59 KB
Binary file not shown.

0 commit comments

Comments
 (0)