-
-
Notifications
You must be signed in to change notification settings - Fork 39
Feature/blint action #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9b53168
Blint-Action (#38)
cerrussell eff8ac6
Fix parsing of GHA sources
cerrussell 2feb6e1
Update cli.py
cerrussell 96b7529
bump version
cerrussell 31bedda
bump version
cerrussell 42b4c65
Fix parsing of sources
cerrussell 6f11a00
bump version
cerrussell a45d917
bump version
cerrussell 08ed8f4
Remove WORKDIR
cerrussell 2b71a8d
bump version
cerrussell a84f64f
Fix variable name
cerrussell 34c7e68
Update Dockerfile
cerrussell 2d05c18
Update pyproject.toml
cerrussell 744c6e1
Update parse sources
cerrussell 86e227b
Update Dockerfile
cerrussell 97c0e43
Troubleshooting env
cerrussell 6cfa911
Fix syntax error
cerrussell 7a6a804
Update Dockerfile
cerrussell 84e2879
Parse src_dir regardless
cerrussell cf4f628
Pass env variable in entrypoint
cerrussell 715610e
Update Dockerfile
cerrussell d66aa7d
Change deployment service permissions
cerrussell ccb6d9a
Cleanup
cerrussell 19b1997
Add option for github actions
cerrussell 3878a3a
Update cli.py
cerrussell 777213f
Update parsing
cerrussell fc21e7e
Troubleshooting
cerrussell 1e5d69c
Update cli.py
cerrussell 9470aa0
Troubleshooting
cerrussell 6eacec7
Remove extra empty list entry
cerrussell 4de8477
Version
cerrussell d170d12
Version
cerrussell dd33994
Variable refactoring
cerrussell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -4,7 +4,7 @@ LABEL maintainer="appthreat" \ | |
org.opencontainers.image.authors="Team AppThreat <[email protected]>" \ | ||
org.opencontainers.image.source="https://github.com/AppThreat/blint" \ | ||
org.opencontainers.image.url="https://github.com/AppThreat/blint" \ | ||
org.opencontainers.image.version="1.0.32" \ | ||
org.opencontainers.image.version="1.0.33" \ | ||
org.opencontainers.image.vendor="AppThreat" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.title="blint" \ | ||
|
@@ -31,25 +31,23 @@ ENV GOPATH=/opt/app-root/go \ | |
SBT_HOME="/opt/sbt/${SBT_VERSION}" \ | ||
COMPOSER_ALLOW_SUPERUSER=1 \ | ||
PYTHONUNBUFFERED=1 \ | ||
PYTHONIOENCODING="utf-8" | ||
PYTHONIOENCODING="utf-8" | ||
ENV PATH=${PATH}:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${GRADLE_HOME}/bin:${SBT_HOME}/bin:${GOPATH}/bin:/usr/local/go/bin:/usr/local/bin/:/root/.local/bin: | ||
|
||
COPY . /opt/blint | ||
|
||
RUN microdnf install -y python3.11 python3.11-devel python3.11-pip gcc gcc-c++ libstdc++-devel glibc-common cmake openssl-libs compat-openssl11 \ | ||
RUN microdnf install -y python3.11 python3.11-devel python3.11-pip \ | ||
&& alternatives --install /usr/bin/python3 python /usr/bin/python3.11 1 \ | ||
&& python3 --version \ | ||
&& python3 -m pip install --upgrade pip \ | ||
&& python3 -m pip install setuptools --upgrade \ | ||
&& python3 -m pip install scikit-build \ | ||
&& python3 -m pip install cmake==3.16.3 ninja==1.10.0.post2 | ||
&& python3 -m pip install poetry | ||
|
||
RUN cd /opt/blint \ | ||
&& python3 -m pip install -e . \ | ||
&& poetry config virtualenvs.create false \ | ||
&& poetry install --no-cache --without dev \ | ||
&& chmod a-w -R /opt \ | ||
&& microdnf clean all | ||
|
||
|
||
WORKDIR /app | ||
|
||
ENTRYPOINT [ "blint" ] |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.