Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
add Dockerfile based on debian:9
Browse files Browse the repository at this point in the history
  • Loading branch information
emalloy committed Apr 10, 2019
1 parent c6120fc commit 6d7d3fd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM debian:9
ADD . /usr/local/twemperf
ENV buildDeps "gcc make autoconf g++ automake"
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
--no-install-recommends \
q \
$buildDeps
RUN cd /usr/local/twemperf \
&& autoreconf -fvi \
&& CFLAGS=-"-ggdb3 -O0"./configure \
&& make \
&& make install
RUN apt-get purge -y --autoremove $buildDeps -o APT:AutoRemove::RecommendsImportant=false \
&& apt-get autoremove \
&& apt-get autoclean \
&& rm -rf /var/lib/apt-lists/* \
&& rm -rf /usr/local/twemperf/

0 comments on commit 6d7d3fd

Please sign in to comment.