mirror of
https://github.com/ruvnet/RuView
synced 2026-08-03 19:21:42 +00:00
security: repair scanning and close stale alert sources
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
# Run:
|
||||
# docker run --rm -p 7878:7878 nvsim-server:latest
|
||||
|
||||
FROM rust:1.81-slim-bookworm AS builder
|
||||
FROM rust:1.81-slim-bookworm@sha256:f9fb6bdb0483de4ade93b262a3f6cf8c2985fca1d34784914bbcabd5a34d3197 AS builder
|
||||
WORKDIR /build
|
||||
# Debian security revisions intentionally float within the immutable base
|
||||
# snapshot so rebuilds receive patched packages without brittle version pins.
|
||||
# kics-scan ignore-line
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
pkg-config libssl-dev ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -46,7 +49,10 @@ EOF
|
||||
|
||||
RUN cargo build --release -p nvsim-server --bin nvsim-server
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
FROM debian:bookworm-slim@sha256:7b140f374b289a7c2befc338f42ebe6441b7ea838a042bbd5acbfca6ec875818
|
||||
# Debian security revisions intentionally float within the immutable base
|
||||
# snapshot so rebuilds receive patched packages without brittle version pins.
|
||||
# kics-scan ignore-line
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
|
||||
Reference in New Issue
Block a user