mirror of
https://github.com/reswitched/Mephisto.git
synced 2024-05-11 17:24:52 -04:00
Simplify dockerfile some more, use current git clone during build context
This commit is contained in:
parent
9b5b231345
commit
3834bbf341
|
@ -5,7 +5,8 @@ RUN apt update; apt install -y wget; \
|
|||
echo 'deb http://apt.llvm.org/xenial/ llvm-toolchain-artful-5.0 main' >> /etc/apt/sources.list ; apt update;\
|
||||
apt install -y clang-5.0 lldb-5.0 lld-5.0 libc++-dev git cmake python-pip liblz4-dev; apt clean all
|
||||
|
||||
RUN mkdir /nonexistent; chown nobody:nogroup /nonexistent
|
||||
ADD . /nonexistent/Mephisto
|
||||
RUN chown nobody:nogroup /nonexistent -R
|
||||
USER nobody
|
||||
|
||||
RUN cd /nonexistent; git clone --depth 1 https://github.com/reswitched/unicorn.git;\
|
||||
|
@ -13,8 +14,7 @@ RUN cd /nonexistent; git clone --depth 1 https://github.com/reswitched/unicorn.g
|
|||
UNICORN_ARCHS="aarch64" ./make.sh;\
|
||||
PREFIX=/nonexistent/usr ./make.sh install
|
||||
|
||||
RUN cd /nonexistent; git clone --depth 1 https://github.com/reswitched/Mephisto.git;\
|
||||
cd Mephisto;\
|
||||
RUN cd /nonexistent/Mephisto;\
|
||||
pip install -r requirements.txt;\
|
||||
EXTRA_CC_FLAGS="-I ../usr/include" EXTRA_LD_FLAGS="-L ../usr/lib" make
|
||||
|
||||
|
|
Loading…
Reference in a new issue