Fettling.

This commit is contained in:
Greyscale 2024-05-17 11:19:40 +02:00
parent 07936b2231
commit fbe428e230
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
3 changed files with 8 additions and 3 deletions
.github/workflows
.trunk
Dockerfile

View file

@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
sparse-checkout: mongodb

View file

@ -17,6 +17,10 @@ runtimes:
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
disabled:
- trufflehog # Trufflehog duplicates gitleaks functionality.
- terrascan
- trivy
enabled:
- gitleaks@8.18.2
- markdownlint@0.40.0
@ -25,8 +29,6 @@ lint:
- checkov@3.2.92
- git-diff-check
- prettier@3.2.5
- trivy@0.51.1
- trufflehog@3.76.2
- yamllint@1.35.1
definitions:
- name: markdownlint

View file

@ -1,4 +1,7 @@
FROM mongo:7.0
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-mongodb" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-mongodb"
HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \
CMD echo 'db.stats().ok' | mongosh --norc --quiet --host=localhost:27017
COPY mongo-init.js /docker-entrypoint-initdb.d/