Add Compile Using Docker
This commit is contained in:
+3
-12
@@ -2,20 +2,11 @@ FROM ubuntu:18.04
|
||||
|
||||
MAINTAINER tunm<tunmxy@163.com>
|
||||
|
||||
WORKDIR /work
|
||||
COPY . /work
|
||||
COPY 3rdparty_hyper_inspire_op/cmake-3.24.3.tar.gz /root/
|
||||
|
||||
# timezone
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
RUN echo 'Asia/Shanghai' >/etc/timezone
|
||||
|
||||
|
||||
RUN ls 3rdparty_hyper_inspire_op
|
||||
|
||||
# && tar -zxvf cmake-3.24.3.tar.gz \
|
||||
# && cd cmake-3.24.3 \
|
||||
# && ./bootstrap \
|
||||
# && make -j$(nproc) \
|
||||
# && sudo make install \
|
||||
# && cmake --version
|
||||
RUN apt-get update
|
||||
RUN apt-get install cmake -y
|
||||
RUN apt-get install build-essential -y
|
||||
|
||||
Reference in New Issue
Block a user