storj-farmer/image (latest)
Published 2024-03-24 10:47:26 +01:00 by oliver
Installation
docker pull git.keine.cloud/oliver/storj-farmer/image:latest
sha256:102a26df7d7653a7215242c6c1c2ab790ab92e610be6c73cd0b4ac3abfe2b4d0
Image layers
ADD file:712c48086043553b85ffb031d8f6c5de857a2e53974df30cdfbc1e85c1b00a25 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 set -ex; 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 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 $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; 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=C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF |
ENV PYTHON_VERSION=2.7.13 |
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-shared --enable-unicode=ucs4 && make -j$(nproc) && make install && ldconfig && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' && python2 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" && rm /tmp/get-pip.py && pip 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 pip install --no-cache-dir virtualenv |
CMD ["python2"] |
MAINTAINER Victor Matekole <victor@seedbloom.it> |
USER [root] |
ENV HOME=/root |
/bin/sh -c wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash |
ENV NVM_DIR=/root/.nvm |
ENV NODE_VERSION=v7.9.0 |
ENV NODE_PATH=/root/.nvm/v7.9.0/lib/node_modules |
ENV PATH=/root/.nvm/versions/node/v7.9.0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
/bin/sh -c [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && nvm install stable && nvm alias $NODE_VERSION stable && nvm use $NODE_VERSION && npm install --global storjshare-daemon --unsafe-perm |
EXPOSE 4000/tcp |
EXPOSE 4001/tcp |
EXPOSE 4002/tcp |
EXPOSE 4003/tcp |
ENTRYPOINT ["storjshare"] |
COPY file:16e072e520485c52289b58391fe64daa6af7d80289cea1b51e7e740879e79f28 in /storj.sh |
/bin/sh -c chmod +x /storj.sh |
ENTRYPOINT ["/storj.sh"] |