ADD file:89ecb642d662ee7edbb868340551106d51336c7e589fdaca4111725ec64da957 in / |
CMD ["/bin/bash"] |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget && rm -rf /var/lib/apt/lists/* |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzr git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/* |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends autoconf automake bzip2 file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libgeoip-dev libglib2.0-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmysqlclient-dev libncurses-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch xz-utils zlib1g-dev && rm -rf /var/lib/apt/lists/* |
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV LANG=C.UTF-8 |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends tcl tk && rm -rf /var/lib/apt/lists/* |
ENV GPG_KEY=97FC712E4C024BBEA48A61ED3A5CA953F73C700D |
ENV PYTHON_VERSION=3.5.2 |
ENV PYTHON_PIP_VERSION=9.0.1 |
/bin/sh -c set -ex && buildDeps=' tcl-dev tk-dev ' && apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* && wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" && wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" && export GNUPGHOME="$(mktemp -d)" && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && rm -r "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && cd /usr/src/python && ./configure --enable-loadable-sqlite-extensions --enable-shared && make -j$(nproc) && make install && ldconfig && if [ ! -e /usr/local/bin/pip3 ]; then : && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" && rm /tmp/get-pip.py ; fi && pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" && [ "$(pip list |tac|tac| awk -F '[ ()]+' '$1 == "pip" { print $2; exit }')" = "$PYTHON_PIP_VERSION" ] && find /usr/local -depth \( \( -type d -a -name test -o -name tests \) -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \) -exec rm -rf '{}' + && apt-get purge -y --auto-remove $buildDeps && rm -rf /usr/src/python ~/.cache |
/bin/sh -c cd /usr/local/bin && { [ -e easy_install ] || ln -s easy_install-* easy_install; } && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config |
CMD ["python3"] |
WORKDIR /opt/falco |
COPY dir:5a30f5d01894c3933a32499ac6df89298186f579f1c24019b7970689ad273709 in /opt/falco |
/bin/sh -c gcc ircize.c -o ircize && mv ircize /usr/bin && pip install -r requirements.txt |
CMD ["python3", "falco.py", "config.json"] |