Block a user
saleor (latest)
Published 2023-12-29 11:11:55 +00:00 by filip
Installation
docker pull git.fpy.cz/filip/saleor:latestsha256:71d4d4dff0b3d4f74d94b0ed94aec6183d7b14ec72589e5f420f20a64bd66b47Image Layers
| ADD file:55a25b93e8f2940a796f3cbf1e78bddf5f49c46b1b89b63b9b5673cbed9483ca in / |
| CMD ["bash"] |
| 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 set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase ; rm -rf /var/lib/apt/lists/* |
| ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D |
| ENV PYTHON_VERSION=3.6.14 |
| /bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y --no-install-recommends dpkg-dev gcc libbluetooth-dev libbz2-dev libc6-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev wget xz-utils zlib1g-dev $(command -v gpg > /dev/null || echo 'gnupg dirmngr') && 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 --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$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 && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" LDFLAGS="-Wl,--strip-all" PROFILE_TASK='-m test.regrtest --pgo test_array test_base64 test_binascii test_binhex test_binop test_bytes test_c_locale_coercion test_class test_cmath test_codecs test_compile test_complex test_csv test_decimal test_dict test_float test_fstring test_hashlib test_io test_iter test_json test_long test_math test_memoryview test_pickle test_re test_set test_slice test_struct test_threading test_time test_traceback test_unicode ' && make install && rm -rf /usr/src/python && find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + && ldconfig && apt-mark auto '.*' > /dev/null && apt-mark manual $savedAptMark && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/* && python3 --version |
| /bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config |
| ENV PYTHON_PIP_VERSION=21.2.4 |
| ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c20b0cfd643cd4a19246ccf204e2997af70f6b21/public/get-pip.py |
| ENV PYTHON_GET_PIP_SHA256=fa6f3fb93cce234cd4e8dd2beb54a51ab9c247653b52855a48dd44e6b21ff28b |
| /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum --check --strict -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" ; pip --version; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py |
| CMD ["python3"] |
| /bin/sh -c apt-get update && apt-get install -y gettext libxml2 libssl1.1 libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 shared-mime-info && apt-get clean && rm -rf /var/lib/apt/lists/* |
| ADD dir:fa4228eac196f9b7d9c5d8b6489161424e81c08f90c3819915e590a119af4518 in /app |
| COPY dir:439c032c194f7ba09e381f164c57b4339bab6d3cf1a0da55c5348b47047c9392 in /app/virtualenv |
| COPY dir:140be980a30398e9eac96bb28a84320605cbe00bc57b3d3b546ecd6656781e4b in /app/saleor/static |
| COPY file:e77f3286dc74c7990a6fd10a0db41f738336576e1dc86152081d651f3f8517d5 in /app/ |
| COPY dir:e30233624c63a7f7e25841a7e66b47c7c60455b370d26a8c8e6a5cb35c7ac65c in /app/templates |
| WORKDIR /app |
| /bin/sh -c useradd --system saleor && mkdir /app/media /app/static && chown -R saleor:saleor /app/media /app/static |
| USER saleor |
| /bin/sh -c SECRET_KEY=dummy /app/virtualenv/bin/python manage.py collectstatic --no-input |
| EXPOSE 8000 |
| ENV PORT 8000 |
| ENV PYTHONUNBUFFERED 1 |
| ENV PROCESSES 4 |
| CMD ["/app/virtualenv/bin/uwsgi", "/app/saleor/wsgi/uwsgi.ini"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.23.1 |