We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823c080 commit b649961Copy full SHA for b649961
Dockerfile.xenial
@@ -0,0 +1,25 @@
1
+from ubuntu:xenial
2
+maintainer [email protected]
3
+
4
+RUN apt-get update && apt-get install -y build-essential libtool g++ gcc \
5
+ texinfo curl wget automake autoconf python python-dev git subversion \
6
+ unzip virtualenvwrapper sudo
7
8
+RUN useradd -m ctf
9
+COPY .git /home/ctf/tools/.git
10
+RUN chown -R ctf.ctf /home/ctf/tools
11
12
+RUN echo "ctf ALL=NOPASSWD: ALL" > /etc/sudoers.d/ctf
13
+RUN apt-get update
14
+RUN apt-get -y install git virtualenvwrapper
15
16
+USER ctf
17
18
+WORKDIR /home/ctf/tools
19
+RUN git checkout .
20
+RUN bin/manage-tools -s setup
21
+RUN bin/ctf-tools-pip install appdirs
22
+RUN echo "workon ctftools" >> /home/ctf/.bashrc
23
24
+WORKDIR /home/ctf
25
+CMD bash -i
0 commit comments