File: Dockerfile

package info (click to toggle)
redsocks 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 592 kB
  • sloc: ansic: 6,196; python: 505; sh: 185; makefile: 96
file content (18 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:14.04

RUN set -o xtrace \
    && sed -i 's,^deb-src,# no src # &,; s,http://archive.ubuntu.com/ubuntu/,mirror://mirrors.ubuntu.com/mirrors.txt,' /etc/apt/sources.list \
    && apt-get update \
    && apt-get install -y apache2-utils curl pv python-tornado

RUN set -o xtrace \
    && apt-get install -y iperf

COPY benchmark.py /benchmark.py

# yandex-tank is nice `ab' replacement, but it's PPA is broken at the moment
# https://github.com/yandex/yandex-tank/issues/202
#
# apt-get install -y software-properties-common
# add-apt-repository ppa:yandex-load/main
# apt-get install -y phantom phantom-ssl yandex-tank