File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # etc
2
+ /.travis.yml
3
+ /LICENSE
4
+ /README.md
Original file line number Diff line number Diff line change
1
+ FROM debian:9
2
+
3
+ # Install basic dependencies
4
+ RUN apt-get update -y && apt-get install -y \
5
+ g++ \
6
+ cmake ragel python3 \
7
+ libboost-dev libpcap-dev \
8
+ autoconf automake autopoint \
9
+ gettext libtool git
10
+
11
+ # Install rustc
12
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
13
+ ENV PATH="/root/.cargo/bin:${PATH}"
14
+
15
+ # Install tini
16
+ ENV TINI_VERSION v0.18.0
17
+ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/local/sbin/tini
18
+ RUN chmod +x /usr/local/sbin/tini
19
+
20
+ # Setup project
21
+ WORKDIR /a
22
+ COPY . .
23
+ WORKDIR /a/build
24
+ RUN cmake ..
25
+ RUN make
26
+
27
+ ENTRYPOINT ["/usr/local/sbin/tini" , "--" ]
28
+ CMD ["./src/regex_perf" , "-f" , "../3200.txt" ]
You can’t perform that action at this time.
0 commit comments