ADD file:7362e0e50f30ff45463ea38bb265cb8f6b7cd422eb2d09de7384efa0b59614be in / |
CMD ["bash"] |
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com> |
ENV NGINX_VERSION=1.21.0 |
ENV NJS_VERSION=0.5.3 |
ENV PKG_RELEASE=1~buster |
/bin/sh -c set -x && addgroup --system --gid 101 nginx && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|i386|arm64) echo "deb https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d |
COPY file:65504f71f5855ca017fb64d502ce873a31b2e0decd75297a8fb0a287f97acf92 in / |
COPY file:0b866ff3fc1ef5b03c4e6c8c513ae014f691fb05d530257dfffd07035c1b75da in /docker-entrypoint.d |
COPY file:0fd5fca330dcd6a7de297435e32af634f29f7132ed0550d342cad9fd20158258 in /docker-entrypoint.d |
COPY file:09a214a3e07c919af2fb2d7c749ccbc446b8c10eb217366e5a65640ee9edcc25 in /docker-entrypoint.d |
ENTRYPOINT ["/docker-entrypoint.sh"] |
EXPOSE 80 |
STOPSIGNAL SIGQUIT |
CMD ["nginx" "-g" "daemon off;"] |
VOLUME [/opt/seafile] |
EXPOSE 10001 12001 80 8000 8080 8082 |
ENV SEAF=/opt/seafile |
COPY file:1e5b275aafcaf4763d9028c97f8d0b5f2509955523492ad9b0153e3d94255ac3 in /tmp/requirements.txt |
/bin/sh -c apt update && apt install locales -y && apt install -y procps libmariadb-dev-compat openssl python2.7 sqlite3 python-mysqldb python-pil curl libjansson4 libfuse2 python-pip python-pip-whl python-setuptools python3 sqlite3 python3 python3-pip python3-setuptools python3-ldap && rm -rf /var/lib/apt/lists/* /tmp/requirements.txt |
/bin/sh -c python3 -m pip install --upgrade pip && rm -r /root/.cache/pip |
/bin/sh -c pip3 install --timeout=3600 click termcolor colorlog pymysql django && rm -r /root/.cache/pip |
ADD 4c9c78e96e9e70395347424726510a74050b97a862cee40b9d7986c98d9f7067 in /tmp/hub-requirements.txt |
/bin/sh -c pip3 install --timeout=3600 -r /tmp/hub-requirements.txt |
ADD 7b78c69229507b5947339af61f5564b6a78475245fd69bfbb7bbbd490b3626ec in /tmp/dav-requirements.txt |
/bin/sh -c pip3 install --timeout=3600 -r /tmp/dav-requirements.txt |
COPY file:167a42ecc45ace64590a1ee04d7a590df7d76c5e460d0525737a6e6db935471a in /usr/sbin/ |
/bin/sh -c ln -s /opt/seafile/seafile-server-latest/seafile.sh /usr/bin/seafile && ln -s /opt/seafile/seafile-server-latest/seahub.sh /usr/bin/seahub && ln -s /opt/seafile/pids /var/run/seafile |
COPY file:d3a597b89361e57d5d0664008afee0bb9129e1038ce5d575ccd8c18aa460e226 in /etc/riffol.conf |
COPY dir:460c793c5f709ff5390107ce6f4758a77d9f909f2ad18e2b92a5079fad1d6af7 in /opt/seafile/conf |
COPY dir:460c793c5f709ff5390107ce6f4758a77d9f909f2ad18e2b92a5079fad1d6af7 in /etc/seafile |
COPY dir:b97b173162864dd9eb170abe8cf84d084a935b486de51f2c280a3d04931f1e44 in /etc/nginx |
COPY file:13a2a2075b7b173e249a77c521a18d82c8688857ca9aad0160ecae60d547c8eb in /usr/local/sbin/upgrade |
COPY file:76eb629f6180353e98c8ec2b4364bd4461c406ff49a36a8d3fe07ea1d898ff6e in /usr/bin/setup |
/bin/sh -c ulimit -n 30000 && mkdir -p $SEAF/pids && chmod +x /usr/local/sbin/upgrade /usr/bin/setup |
/bin/sh -c pip2 install requests scriptine |
ENV SEAF_UPGRADE_INTERVAL=3 |
HEALTHCHECK &{["CMD-SHELL" "(curl http://localhost:8000 || (echo \"failed seahub\"; exit 1)) && (curl http://localhost:8082 || (echo \"failed seafhttp\"; exit 1)) && (bash -c '[ $(curl --silent --output /dev/null --write-out \"%{http_code}\" http://localhost:8080) -eq 401 ]' || (echo \"failed seafdav\"; exit 1)) || exit 1"] "30s" "30s" "30s" '\x00'} |
ENTRYPOINT ["/usr/sbin/riffol" "-f" "/etc/riffol.conf"] |