-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #687 from nabla-c0d3/dev
Release v6.1.0
- Loading branch information
Showing
77 changed files
with
25,424 additions
and
25,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
**/__pycache__ | ||
/tests | ||
/docs | ||
/.github | ||
/.github | ||
/.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
FROM python:3.9-slim | ||
# set python version | ||
ARG PYTHON_VERSION="3.12" | ||
|
||
FROM docker.io/python:${PYTHON_VERSION}-slim AS build | ||
COPY . /sslyze/ | ||
# install latest updates as root | ||
RUN apt-get update \ | ||
&& apt-get install -y sudo | ||
WORKDIR /sslyze | ||
# use a venv | ||
RUN python -m venv /opt/venv | ||
ENV PATH="/opt/venv/bin:$PATH" | ||
# install sslyze based on sourcecode | ||
RUN python -m pip install --upgrade pip setuptools wheel | ||
RUN python /sslyze/setup.py install | ||
RUN pip install --upgrade pip setuptools wheel | ||
RUN pip install . | ||
|
||
FROM docker.io/python:${PYTHON_VERSION}-slim AS run | ||
# set user to a non-root user sslyze | ||
RUN adduser --no-create-home --disabled-password --gecos "" --uid 1001 sslyze | ||
USER sslyze | ||
# restrict execution to sslyze | ||
WORKDIR /sslyze | ||
ENTRYPOINT ["python", "-m", "sslyze"] | ||
CMD ["-h"] | ||
# copy sslyze from build stage | ||
COPY --from=build /opt/venv /opt/venv | ||
ENV PATH="/opt/venv/bin:$PATH" | ||
ENTRYPOINT ["sslyze"] | ||
CMD ["-h"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: f71b8d947628f4c16f8ec17ec85934ab | ||
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 094768c3cd394a7960733fba4a2e0033 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Oops, something went wrong.