瀏覽代碼

pushd is not available.

master
Ray Burgemeestre 5 年之前
父節點
當前提交
f9261863b3
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      Dockerfile-ubuntu1804

+ 2
- 2
Dockerfile-ubuntu1804 查看文件

# more recent versions of boost that the system CMake doesn't now about. # more recent versions of boost that the system CMake doesn't now about.
RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \ RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \
tar -zxf cmake-3.16.2.tar.gz && \ tar -zxf cmake-3.16.2.tar.gz && \
pushd cmake-3.16.2 && \
cd cmake-3.16.2 && \
./bootstrap && \ ./bootstrap && \
make -j $(nproc) && \ make -j $(nproc) && \
make install && \ make install && \
popd && \
cd .. && \
rm -rf cmake-3.16.2 && \ rm -rf cmake-3.16.2 && \
rm -rf cmake-3.16.2.tar.gz rm -rf cmake-3.16.2.tar.gz



Loading…
取消
儲存