fix(security): minimize runtime images and enforce complete vulnerability scans
This commit is contained in:
1 parent
0c1fb38e31
commit
f685616ae8
13 files changed
+2736
-37
No files matched your search
@@ -57,8 +57,8 @@ services:
|
||||
|
||||
artifact-storage-init:
|
||||
image: ${CRANK_ADMIN_API_IMAGE:-git.itexp.me/bsodfather/crank-community-admin-api:main}
|
||||
entrypoint: ["/bin/sh", "-ec"]
|
||||
command: ["install -d -m 700 -- \"$${CRANK_STORAGE_ROOT}\""]
|
||||
entrypoint: ["/usr/local/bin/crank-admin-entrypoint"]
|
||||
command: ["crank-storage-init"]
|
||||
restart: "no"
|
||||
environment:
|
||||
CRANK_STORAGE_ROOT: ${CRANK_STORAGE_ROOT:-/var/lib/crank/storage}
|
||||
|
||||
@@ -61,8 +61,8 @@ services:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: apps/admin-api/Dockerfile
|
||||
entrypoint: ["/bin/sh", "-ec"]
|
||||
command: ["install -d -m 700 -- \"$${CRANK_STORAGE_ROOT}\""]
|
||||
entrypoint: ["/usr/local/bin/crank-admin-entrypoint"]
|
||||
command: ["crank-storage-init"]
|
||||
restart: "no"
|
||||
environment:
|
||||
CRANK_STORAGE_ROOT: ${CRANK_STORAGE_ROOT:-/var/lib/crank/storage}
|
||||
|
||||
Reference in new issue
Block a user