File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ ENV HOME /autoscan
55WORKDIR $HOME
66COPY . ./
77
8- RUN apt-get update
9- RUN apt-get install -y --no-install-recommends apt-utils && \
10- apt-get install -y --no-install-recommends python3 python3-pip && \
11- apt-get install -y --no-install-recommends python3-setuptools python3-wheel && \
12- apt-get install -y --no-install-recommends build-essential python3-dev
8+ RUN apt-get update && apt-get install -y --no-install-recommends \
9+ apt-utils \
10+ python3 \
11+ python3-pip \
12+ python3-setuptools \
13+ python3-wheel \
14+ build-essential \
15+ python3-dev
1316
1417# Install dependencies.
1518RUN pip3 install -r requirements.txt
Original file line number Diff line number Diff line change 11FROM alpine
22
33RUN apk update && apk add --no-cache \
4- python3-dev py3-pip gcc musl-dev postgresql-dev postgresql-contrib bash
4+ python3-dev \
5+ py3-pip \
6+ gcc \
7+ musl-dev \
8+ postgresql-dev \
9+ postgresql-contrib \
10+ bash
511
612COPY . /app
713
Original file line number Diff line number Diff line change @@ -7,11 +7,15 @@ COPY . ./
77
88RUN chmod +x docker-entrypoint.sh && touch redis-server.log
99
10- RUN apt-get update
11- RUN apt-get install -y --no-install-recommends apt-utils && \
12- apt-get install -y --no-install-recommends python3 python3-pip && \
13- apt-get install -y --no-install-recommends python3-setuptools python3-wheel && \
14- apt-get install -y --no-install-recommends build-essential python3-dev redis-server systemd
10+ RUN apt-get update && apt-get install -y --no-install-recommends \
11+ apt-utils \
12+ python3 \
13+ python3-pip \
14+ python3-setuptools \
15+ python3-wheel \
16+ python3-dev \
17+ redis-server \
18+ systemd
1519
1620RUN pip3 install -r requirements.txt
1721RUN sed -i 's/\/ var\/ log\/ redis\/ redis-server\. log/\"\" /g' /etc/redis/redis.conf
Original file line number Diff line number Diff line change 66rq
77flask
88pretend
9- psycopg2-binary
Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ ENV SCANNER_HOME /dns
55WORKDIR $SCANNER_HOME
66COPY . ./
77
8- RUN apt-get update
9- RUN apt-get install -y --no-install-recommends apt-utils && \
10- apt-get install -y --no-install-recommends python3 python3-pip && \
11- apt-get install -y --no-install-recommends python3-setuptools python3-wheel && \
12- apt-get install -y --no-install-recommends build-essential python3-dev
8+ RUN apt-get update && apt-get install -y --no-install-recommends \
9+ apt-utils \
10+ python3 \
11+ python3-pip \
12+ python3-setuptools \
13+ python3-wheel \
14+ build-essential \
15+ python3-dev
1316
1417RUN pip3 install -r requirements.txt
1518
Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ ENV SCANNER_HOME /https
55WORKDIR $SCANNER_HOME
66COPY . ./
77
8- RUN apt-get update
9- RUN apt-get install -y --no-install-recommends apt-utils && \
10- apt-get install -y --no-install-recommends python3 python3-pip && \
11- apt-get install -y --no-install-recommends python3-setuptools python3-wheel && \
12- apt-get install -y --no-install-recommends build-essential python3-dev
8+ RUN apt-get update && apt-get install -y --no-install-recommends \
9+ apt-utils \
10+ python3 \
11+ python3-pip \
12+ python3-setuptools \
13+ python3-wheel \
14+ build-essential \
15+ python3-dev
1316
1417RUN pip3 install -r requirements.txt
1518
Original file line number Diff line number Diff line change @@ -5,11 +5,15 @@ ENV HOME /results
55WORKDIR $HOME
66COPY . ./
77
8- RUN apt-get update
9- RUN apt-get install -y --no-install-recommends apt-utils && \
10- apt-get install -y --no-install-recommends python3 python3-pip && \
11- apt-get install -y --no-install-recommends python3-setuptools python3-wheel && \
12- apt-get install -y --no-install-recommends build-essential python3-dev libpq-dev
8+ RUN apt-get update && apt-get install -y --no-install-recommends \
9+ apt-utils \
10+ python3 \
11+ python3-pip \
12+ python3-setuptools \
13+ python3-wheel \
14+ build-essential \
15+ python3-dev \
16+ libpq-dev
1317
1418# Install dependencies.
1519RUN pip3 install -r requirements.txt
Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ ENV SCANNER_HOME /ssl
55WORKDIR $SCANNER_HOME
66COPY . ./
77
8- RUN apt-get update
9- RUN apt-get install -y --no-install-recommends apt-utils && \
10- apt-get install -y --no-install-recommends python3 python3-pip && \
11- apt-get install -y --no-install-recommends python3-setuptools python3-wheel && \
12- apt-get install -y --no-install-recommends build-essential python3-dev
8+ RUN apt-get update && apt-get install -y --no-install-recommends \
9+ apt-utils \
10+ python3 \
11+ python3-pip \
12+ python3-setuptools \
13+ python3-wheel \
14+ build-essential \
15+ python3-dev
1316
1417RUN pip3 install -r requirements.txt
1518
You can’t perform that action at this time.
0 commit comments