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-slim
Browse files Browse the repository at this point in the history
  • Loading branch information
emalloy committed Apr 11, 2019
1 parent c6120fc commit bf0f13c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM debian:9-slim
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 \
$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 bf0f13c

Please sign in to comment.