-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more protection against socket when closing
- Loading branch information
Showing
9 changed files
with
72 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
FROM fedora:30 as build | ||
# Build time | ||
FROM ubuntu:xenial as build | ||
|
||
RUN yum install -y gcc-g++ | ||
RUN yum install -y cmake | ||
RUN yum install -y make | ||
RUN yum install -y openssl-devel | ||
|
||
RUN yum install -y wget | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN apt-get update | ||
RUN apt-get -y install wget | ||
RUN mkdir -p /tmp/cmake | ||
WORKDIR /tmp/cmake | ||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.tar.gz | ||
RUN tar zxf cmake-3.14.0-Linux-x86_64.tar.gz | ||
|
||
RUN apt-get -y install g++ | ||
RUN apt-get -y install libssl-dev | ||
RUN apt-get -y install libz-dev | ||
RUN apt-get -y install make | ||
RUN apt-get -y install python | ||
|
||
COPY . . | ||
|
||
ARG CMAKE_BIN_PATH=/tmp/cmake/cmake-3.14.0-Linux-x86_64/bin | ||
ENV PATH="${CMAKE_BIN_PATH}:${PATH}" | ||
|
||
RUN yum install -y python | ||
RUN yum install -y libtsan | ||
|
||
COPY . . | ||
RUN ["make", "test"] | ||
# RUN ["make"] | ||
RUN ["make", "test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters