Files
vulhub/base/uwsgi/python/2.0.17/Dockerfile
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

18 lines
658 B
Docker

FROM buildpack-deps:stretch-curl
LABEL maintainer="phithon <root@leavesongs.com>"
ARG DEBIAN_MIRROR_URL=https://github.com/vulhub/mirrors/raw/master/debian/stretch/aliyun.list
ARG PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
RUN set -ex \
&& wget $DEBIAN_MIRROR_URL -O /etc/apt/sources.list \
&& apt-get update \
&& apt-get install --no-install-recommends -y build-essential python3 python3-dev python3-pip \
&& pip3 install -i $PIP_MIRROR_URL -U pip setuptools \
&& pip install -i $PIP_MIRROR_URL "uwsgi==2.0.17" \
&& apt-get purge --autoremove -y build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src