mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-26 11:44:52 +02:00
Add error handling for the curl command
This commit is contained in:
+4
-6
@@ -56,9 +56,7 @@ RUN apt install -y --no-install-recommends \
|
||||
RUN add-apt-repository ppa:mozillateam/ppa
|
||||
|
||||
RUN ARCH=$(dpkg --print-architecture) \
|
||||
&& wget https://go.dev/dl/go${GOVERSION}.linux-${ARCH}.tar.gz \
|
||||
&& tar -xvf go${GOVERSION}.linux-${ARCH}.tar.gz -C /usr/local \
|
||||
&& rm go${GOVERSION}.linux-${ARCH}.tar.gz
|
||||
&& curl -L https://go.dev/dl/go${GOVERSION}.linux-${ARCH}.tar.gz | tar -xzC /usr/local
|
||||
|
||||
RUN ARCH=$(dpkg --print-architecture) \
|
||||
&& if [ "${ARCH}" = "arm64" ]; then \
|
||||
@@ -72,7 +70,7 @@ RUN ARCH=$(dpkg --print-architecture) \
|
||||
&& mv geckodriver /usr/bin
|
||||
|
||||
# Install Rust for orjson
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
RUN set -e; curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
RUN pip3 install maturin
|
||||
|
||||
@@ -107,8 +105,8 @@ RUN nuclei -update-templates
|
||||
|
||||
# Copy requirements
|
||||
COPY ./requirements.txt /tmp/requirements.txt
|
||||
RUN pip3 install --upgrade setuptools==72.1.0
|
||||
RUN pip3 install -r /tmp/requirements.txt --no-cache-dir
|
||||
RUN pip3 install --upgrade setuptools==72.1.0 && \
|
||||
pip3 install -r /tmp/requirements.txt --no-cache-dir
|
||||
|
||||
# install eyewitness
|
||||
RUN pip3 install --no-cache-dir fuzzywuzzy \
|
||||
|
||||
Reference in New Issue
Block a user