From 2d72b4f407becbeaf27c3f649ccc7ded04bc64be Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sat, 15 Jun 2024 00:51:25 +0800 Subject: [PATCH] remove unused file. --- ubuntu.dockerfile | 71 ----------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 ubuntu.dockerfile diff --git a/ubuntu.dockerfile b/ubuntu.dockerfile deleted file mode 100644 index 932a775..0000000 --- a/ubuntu.dockerfile +++ /dev/null @@ -1,71 +0,0 @@ -FROM ubuntu:22.04 -LABEL maintainer 168062547@qq.com -ENV DEBIAN_FRONTEND=noninteractive - -RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list && \ - sed -i "s@http://.*security.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list && \ - apt-get update && \ - apt-get install -y wget ca-certificates curl gnupg jq gettext git cmake ninja-build pkg-config \ - libssl-dev libcurl4-openssl-dev libffmpeg-ocaml-dev libfreetype-dev libalsa-ocaml-dev \ - liblzma-dev libx264-dev gcc g++ - -RUN mkdir -p /etc/apt/keyrings -RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -ENV NODE_MAJOR=20 -RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list -RUN apt-get update && apt-get install nodejs -y - -WORKDIR /home/temp -RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.gz && \ - wget https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz && \ - wget https://github.com/tfussell/xlnt/archive/refs/tags/v1.5.0.tar.gz -O xlnt-1.5.0.tar.gz - -RUN tar xvf boost_1_83_0.tar.gz && \ - tar xvf zeromq-4.3.5.tar.gz && \ - tar xvf xlnt-1.5.0.tar.gz - -WORKDIR /home/temp/boost_1_83_0 -RUN ./bootstrap.sh --prefix=/opt/Libraries/boost_1_83_0 -RUN ./b2 install -q --prefix=/opt/Libraries/boost_1_83_0 threading=multi link=shared runtime-link=shared variant=release cxxstd=17 cxxflags=-fPIC cflags=-fPIC -ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/Libraries/boost_1_83_0/lib" - -WORKDIR /home/temp/zeromq-4.3.5/build -RUN cmake \ - -G Ninja \ - -DCMAKE_BUILD_TYPE=Debug \ - -DCMAKE_INSTALL_PREFIX=/opt/Libraries/zeromq-4.3.5_debug \ - .. -RUN ninja install -RUN rm -fr ./* -RUN cmake \ - -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/opt/Libraries/zeromq-4.3.5_release \ - .. -RUN ninja install - -WORKDIR /home/temp/xlnt-1.5.0/build -RUN sed -i '1s/^/#include \n/' ../source/detail/number_format/number_formatter.cpp -RUN cmake \ - -G Ninja \ - -DCMAKE_BUILD_TYPE=Debug \ - -DCMAKE_INSTALL_PREFIX=/opt/Libraries/xlnt-1.5.0_debug \ - .. -RUN ninja install -RUN rm -fr ./* -RUN cmake \ - -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/opt/Libraries/xlnt-1.5.0_release \ - .. -RUN ninja install -RUN bash -c "sed -i -e 's/set_and_check(XLNT_INCLUDE_DIR \"include\")/# set_and_check(XLNT_INCLUDE_DIR \"include\")/g' /opt/Libraries/xlnt-1.5.0_debug/lib/cmake/xlnt/XlntConfig.cmake &&\ - sed -i -e 's/set_and_check(XLNT_INCLUDE_DIR \"include\")/# set_and_check(XLNT_INCLUDE_DIR \"include\")/g' /opt/Libraries/xlnt-1.5.0_release/lib/cmake/xlnt/XlntConfig.cmake" -WORKDIR / -RUN rm -fr /home/temp -ENV LANG C.UTF-8 - -# docker build -f ubuntu.dockerfile -t develop:22.04 . -# docker tag develop:22.04 registry.cn-shenzhen.aliyuncs.com/amass_toolset/develop:22.04 -# docker login --username=168062547@qq.com registry.cn-shenzhen.aliyuncs.com -# docker push registry.cn-shenzhen.aliyuncs.com/amass_toolset/develop:22.04 \ No newline at end of file