File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu
2+
3+ MAINTAINER Filippo Valsorda <fv@filippo.io>
4+
5+ RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
6+ RUN apt-get update # 2013-11-22
7+
8+ RUN apt-get install -y language-pack-en
9+ RUN update-locale LANG=en_US.UTF-8
10+
11+ RUN apt-get install -y unattended-upgrades
12+ RUN yes | dpkg-reconfigure -plow unattended-upgrades
13+
14+ RUN apt-get install -y joe less wget
15+
16+ # ArchiveTeam Warrior
17+
18+ RUN apt-get install -y python-pip git pciutils sudo net-tools isc-dhcp-client python-software-properties wget
19+ RUN apt-add-repository -y ppa:archiveteam/wget-lua && apt-get update
20+ RUN apt-get install -y wget-lua
21+
22+ RUN useradd warrior
23+ RUN echo "warrior ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
24+ RUN mkdir /home/warrior && chown warrior: /home/warrior
25+
26+ RUN (cd /home/warrior && sudo -u warrior git clone https://github.com/FiloSottile/warrior-code2.git)
27+ # RUN (cd /home/warrior/warrior-code2 && sudo -u warrior DOCKER=1 ./boot.sh)
28+
29+ # EXPOSE 8001 # Enabling this will redirect a port on the host to the web interface. Not recommended. Use a SSH tunnel or a VPN.
30+ CMD ["/bin/bash" , "-c" , "(cd /home/warrior/warrior-code2 && sudo -u warrior DOCKER=1 ./boot.sh && sudo -u warrior DOCKER=1 ./warrior-runner.sh)" ]
Original file line number Diff line number Diff line change 1+ ## A Dockerfile for the [ ArchiveTeam Warrior] ( http://www.archiveteam.org/index.php?title=ArchiveTeam_Warrior )
2+
3+ ![ Warrior logo] ( http://www.archiveteam.org/images/thumb/f/f3/Archive_team.png/235px-Archive_team.png )
4+ ![ Docker logo] ( https://upload.wikimedia.org/wikipedia/commons/7/79/Docker_%28container_engine%29_logo.png )
5+
6+ Currently uses [ my modified version] ( https://github.com/FiloSottile/warrior-code2/ ) of the [ Warrior bootstrap code] ( https://github.com/ArchiveTeam/warrior-code2 ) .
7+
8+ Build, run, grab the container IP and access the web interface on port 8001.
You can’t perform that action at this time.
0 commit comments