mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
sitepackages path
This commit is contained in:
+4
-5
@@ -4,8 +4,6 @@ MAINTAINER "Kevin Foo <[email protected]>"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
COPY dockerfix /fix.sh
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y upgrade \
|
||||
&& apt-get install -y python3-pip git cmake
|
||||
@@ -18,11 +16,12 @@ RUN cd /qiling \
|
||||
&& pip3 install -r requirements.txt \
|
||||
&& python3 setup.py install
|
||||
|
||||
RUN chmod +x /fix.sh \
|
||||
&& /fix.sh
|
||||
RUN pysite1=$(python3 -c "import site; print(site.getsitepackages()[0])"); \
|
||||
pysite2=$(python3 -c "import site; print(site.getsitepackages()[1])") \
|
||||
&& cp ${pysite1}${pysite2}/keystone/libkeystone.so $pysite1/keystone/
|
||||
|
||||
RUN apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /fix.sh
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
ENV HOME /qiling
|
||||
|
||||
|
||||
Reference in New Issue
Block a user