mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 14:36:33 +01:00
* add detection of ELF security features Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix linting Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * update json schema with file executable data Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * update expected fixure when no tty present Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * more detailed differ Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * use json differ Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix tests Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * remove json schema addition Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * regenerate json schema Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix mimtype set ref Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
17 lines
777 B
Docker
17 lines
777 B
Docker
FROM gcc:9.5.0
|
|
|
|
RUN apt update -y && apt install -y clang cmake git make m4 pkg-config zlib1g-dev
|
|
|
|
## from https://github.com/runsafesecurity/selfrando/blob/tb-v0.4.2/docs/linux-build-instructions.md
|
|
#RUN git clone https://github.com/runsafesecurity/selfrando.git && \
|
|
# export SR_ARCH=`uname -m | sed s/i686/x86/` && \
|
|
# cd selfrando && \
|
|
# cmake . -DSR_DEBUG_LEVEL=env -DCMAKE_BUILD_TYPE=Release -DSR_BUILD_LIBELF=1 \
|
|
# -DSR_ARCH=$SR_ARCH -DSR_LOG=console \
|
|
# -DSR_FORCE_INPLACE=1 -G "Unix Makefiles" \
|
|
# -DCMAKE_INSTALL_PREFIX:PATH=$PWD/out/$SR_ARCH
|
|
#RUN cd selfrando && make -j`nprocs --all`
|
|
#RUN cd selfrando && make install
|
|
|
|
RUN curl -o /bin/checksec https://raw.githubusercontent.com/slimm609/checksec.sh/2.6.0/checksec && chmod +x /bin/checksec
|