From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.github.com (out-17.smtp.github.com [192.30.252.200]) by mail.toke.dk (Postfix) with ESMTPS id D6DE385667F for ; Tue, 8 Jun 2021 21:02:24 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=a+T7TWeN Received: from github.com (hubbernetes-node-1fd96bb.va3-iad.github.net [10.48.201.56]) by smtp.github.com (Postfix) with ESMTPA id 99B465C07E1 for ; Tue, 8 Jun 2021 12:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1623178943; bh=WbUko1ZSIctY5cdhaWd3ciumdotgbpMVpYh0uoDUTK0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=a+T7TWeNIEh11pinEudNMDXkUicw1wvBBWnA54D6YjchMCHxWyL89Nnh2TmIJSraS Mf70tXSZMoJXiDN3BncQJN//ZIc9ak/J+HRcy2kYhe01sQswJvcTcWCcctOaqPbcgV E9J4YPkob18lysd1j01tKrYQQJLoX57mec8YQSao= Date: Tue, 08 Jun 2021 12:02:23 -0700 From: xciter327 To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_60bfbebf96d6b_180fc6fc9929d"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: xciter327 X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Message-ID-Hash: KHMQ6HEZUO4OJZBKDRI227ZNTHIDYQYT X-Message-ID-Hash: KHMQ6HEZUO4OJZBKDRI227ZNTHIDYQYT X-MailFrom: noreply@github.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Subscribed X-Mailman-Version: 3.3.4 Reply-To: tohojo/flent Subject: [Flent-users] Re: [tohojo/flent] Flent in Docker? (#220) List-Id: Flent discussion list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ----==_mimepart_60bfbebf96d6b_180fc6fc9929d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Here is what I setup for a quick n dirty testing. It's a pretty "fat" image, but I don't feel like optimizing it at this point. You can probably do away with a bunch of dependencies if You relegate yourself to cli only Flent. It was based on a previous attempt I saw somewhere here. ``` FROM ubuntu:hirsute RUN apt-get update && apt-get install -y locales software-properties-common && \ sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ locale-gen ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 RUN add-apt-repository ppa:tohojo/flent RUN apt-get update RUN apt install -y flent netperf irtt iperf fping bsdmainutils RUN apt remove software-properties-common locales -y && apt clean && apt autoremove -y && rm -rf /var/lib/apt/lists/* RUN chown root.root /usr/bin/fping && chmod 4755 /usr/bin/fping RUN useradd -U -u 1000 flent USER flent ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/220#issuecomment-857019602 ----==_mimepart_60bfbebf96d6b_180fc6fc9929d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Here is what I setup for a quick n dirty testing. It's a pretty "fat" image, but I don't feel like optimizing it at this point. You can probably do away with a bunch of dependencies if You relegate yourself to cli only Flent. It was based on a previous attempt I saw somewhere here.

FROM ubuntu:hirsute
RUN apt-get update && apt-get install -y locales software-properties-common && \
    sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
    locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository ppa:tohojo/flent
RUN apt-get update
RUN apt install -y flent netperf irtt iperf fping bsdmainutils
RUN apt remove software-properties-common locales -y && apt clean && apt autoremove -y && rm -rf /var/lib/apt/lists/*
RUN chown root.root /usr/bin/fping && chmod 4755 /usr/bin/fping
RUN useradd -U -u 1000 flent
USER flent


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

----==_mimepart_60bfbebf96d6b_180fc6fc9929d--