forked from lanjelot/patator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,23 @@ MAINTAINER Sebastien Macke <[email protected]> | |
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
libcurl4-openssl-dev python3-dev libssl-dev \ | ||
ldap-utils \ | ||
libmariadbclient-dev \ | ||
libpq-dev \ | ||
ike-scan unzip default-jdk \ | ||
libsqlite3-dev libsqlcipher-dev \ | ||
python3-pip python-pip | ||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
build-essential python3-setuptools \ | ||
libcurl4-openssl-dev python3-dev libssl-dev \ | ||
ldap-utils \ | ||
libmariadbclient-dev \ | ||
libpq-dev \ | ||
ike-scan unzip default-jdk \ | ||
libsqlite3-dev libsqlcipher-dev \ | ||
python3-pip python-pip \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# cx_oracle | ||
RUN apt-get update && apt-get install -y libaio1 wget unzip git | ||
RUN apt-get update \ | ||
&& apt-get install -y libaio1 wget unzip git \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /opt/oracle | ||
RUN wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip \ | ||
&& wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip \ | ||
|
@@ -33,7 +38,8 @@ RUN git clone --branch 5.3 https://github.com/oracle/python-cx_Oracle \ | |
|
||
# xfreerdp (see https://github.com/FreeRDP/FreeRDP/wiki/Compilation) | ||
RUN apt-get update && apt-get install -y ninja-build build-essential git-core debhelper cdbs dpkg-dev autotools-dev cmake pkg-config xmlto libssl-dev docbook-xsl xsltproc libxkbfile-dev libx11-dev libwayland-dev libxrandr-dev libxi-dev libxrender-dev libxext-dev libxinerama-dev libxfixes-dev libxcursor-dev libxv-dev libxdamage-dev libxtst-dev libcups2-dev libpcsclite-dev libasound2-dev libpulse-dev libjpeg-dev libgsm1-dev libusb-1.0-0-dev libudev-dev libdbus-glib-1-dev uuid-dev libxml2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libfaad-dev libfaac-dev \ | ||
&& apt-get install -y libavutil-dev libavcodec-dev libavresample-dev | ||
&& apt-get install -y libavutil-dev libavcodec-dev libavresample-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
WORKDIR /opt/FreeRDP | ||
RUN git clone https://github.com/FreeRDP/FreeRDP/ . | ||
RUN cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON . && cmake --build . && cmake --build . --target install | ||
|
@@ -45,7 +51,8 @@ RUN python3 -m pip install -r requirements.txt | |
RUN sed -e '/cx_Oracle/d' -e 's,pysqlcipher3,pysqlcipher,' requirements.txt | python2 -m pip install -r /dev/stdin | ||
|
||
# utils | ||
RUN apt-get update && apt-get install -y ipython3 ipython iputils-ping iproute2 netcat curl rsh-client telnet vim mlocate nmap | ||
RUN apt-get update && apt-get install -y ipython3 ipython iputils-ping iproute2 netcat curl rsh-client telnet vim mlocate nmap \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN echo 'set bg=dark' > /root/.vimrc | ||
|
||
COPY ./patator.py ./ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters