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 (13 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 nginx-light

RUN set -o xtrace \
    && dd if=/dev/urandom of=/usr/share/nginx/html/128K count=1 bs=128K \
    && dd if=/dev/urandom of=/usr/share/nginx/html/1M count=1 bs=1M \
    && for i in `seq 16`; do cat /usr/share/nginx/html/1M; done >/usr/share/nginx/html/16M

CMD ["/usr/sbin/nginx", "-g", "daemon off;"]