1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00: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:
Roman Gershman 2023-07-03 11:16:42 +03:00 committed by GitHub
parent 4babed54d3
commit 8c80bd7c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

5
.snyk Normal file
View file

@ -0,0 +1,5 @@
# Snyk (https://snyk.io) policy file
exclude:
global:
- tests/integration/**
- contrib/charts/**

View file

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
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"
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
FROM alpine:3.17.0
FROM alpine:3
RUN apk --no-cache add libgcc libstdc++ libunwind boost1.80-fiber \
zstd-dev su-exec netcat-openbsd openssl libxml2