@@ -4,7 +4,7 @@ LABEL maintainer="appthreat" \
4
4
org.opencontainers.image.authors=
"Team AppThreat <[email protected] >" \
5
5
org.opencontainers.image.source="https://github.com/AppThreat/blint" \
6
6
org.opencontainers.image.url="https://github.com/AppThreat/blint" \
7
- org.opencontainers.image.version="1.0.32 " \
7
+ org.opencontainers.image.version="1.0.33 " \
8
8
org.opencontainers.image.vendor="AppThreat" \
9
9
org.opencontainers.image.licenses="Apache-2.0" \
10
10
org.opencontainers.image.title="blint" \
@@ -31,25 +31,23 @@ ENV GOPATH=/opt/app-root/go \
31
31
SBT_HOME="/opt/sbt/${SBT_VERSION}" \
32
32
COMPOSER_ALLOW_SUPERUSER=1 \
33
33
PYTHONUNBUFFERED=1 \
34
- PYTHONIOENCODING="utf-8"
34
+ PYTHONIOENCODING="utf-8"
35
35
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:
36
36
37
37
COPY . /opt/blint
38
38
39
- RUN microdnf install -y python3.11 python3.11-devel python3.11-pip gcc gcc-c++ libstdc++-devel glibc-common cmake openssl-libs compat-openssl11 \
39
+ RUN microdnf install -y python3.11 python3.11-devel python3.11-pip \
40
40
&& alternatives --install /usr/bin/python3 python /usr/bin/python3.11 1 \
41
41
&& python3 --version \
42
42
&& python3 -m pip install --upgrade pip \
43
43
&& python3 -m pip install setuptools --upgrade \
44
- && python3 -m pip install scikit-build \
45
- && python3 -m pip install cmake==3.16.3 ninja==1.10.0.post2
44
+ && python3 -m pip install poetry
46
45
47
46
RUN cd /opt/blint \
48
- && python3 -m pip install -e . \
47
+ && poetry config virtualenvs.create false \
48
+ && poetry install --no-cache --without dev \
49
49
&& chmod a-w -R /opt \
50
50
&& microdnf clean all
51
51
52
52
53
- WORKDIR /app
54
-
55
53
ENTRYPOINT [ "blint" ]
0 commit comments