mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
chore: tune snyk coverage to ignore test files (#1509)
Also, upgrade the alpine docker image according to Snyk suggestions. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
4babed54d3
commit
8c80bd7c5c
2 changed files with 7 additions and 2 deletions
5
.snyk
Normal file
5
.snyk
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Snyk (https://snyk.io) policy file
|
||||||
|
exclude:
|
||||||
|
global:
|
||||||
|
- tests/integration/**
|
||||||
|
- contrib/charts/**
|
|
@ -1,7 +1,7 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM gcr.io/cadvisor/cadvisor:v0.46.0 as libpfm_donor
|
FROM gcr.io/cadvisor/cadvisor:v0.46.0 as libpfm_donor
|
||||||
|
|
||||||
FROM alpine:3.17.0 as builder
|
FROM alpine:3 as builder
|
||||||
|
|
||||||
# "openssl-libs-static" fixes "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the"
|
# "openssl-libs-static" fixes "Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the"
|
||||||
RUN apk add autoconf-archive automake bash bison boost-dev cmake coreutils \
|
RUN apk add autoconf-archive automake bash bison boost-dev cmake coreutils \
|
||||||
|
@ -23,7 +23,7 @@ RUN make HELIO_RELEASE=y release
|
||||||
|
|
||||||
RUN build-opt/dragonfly --version
|
RUN build-opt/dragonfly --version
|
||||||
|
|
||||||
FROM alpine:3.17.0
|
FROM alpine:3
|
||||||
|
|
||||||
RUN apk --no-cache add libgcc libstdc++ libunwind boost1.80-fiber \
|
RUN apk --no-cache add libgcc libstdc++ libunwind boost1.80-fiber \
|
||||||
zstd-dev su-exec netcat-openbsd openssl libxml2
|
zstd-dev su-exec netcat-openbsd openssl libxml2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue