Add cURL install to Dockerfile (#6424)

This commit is contained in:
Benjamin Gorman 2023-06-21 10:50:44 +01:00 committed by GitHub
parent 5de95f4d02
commit b2dc643f56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,11 @@ WORKDIR /moto/
RUN pip3 --no-cache-dir install --upgrade pip setuptools && \ RUN pip3 --no-cache-dir install --upgrade pip setuptools && \
pip3 --no-cache-dir install ".[server]" pip3 --no-cache-dir install ".[server]"
# Install cURL
RUN apt-get update && \
apt-get install -y curl && \
rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/usr/local/bin/moto_server", "-H", "0.0.0.0"] ENTRYPOINT ["/usr/local/bin/moto_server", "-H", "0.0.0.0"]
EXPOSE 5000 EXPOSE 5000