Fettling.

This commit is contained in:
Greyscale 2024-05-17 11:19:40 +02:00
parent 4c07bbc462
commit b7f41d7659
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
4 changed files with 20 additions and 3 deletions

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,5 +1,10 @@
ARG MARIADB_VERSION
FROM mariadb:$MARIADB_VERSION AS mariadb
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-s3db" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-s3db"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ENV DEBIAN_FRONTEND="teletype" \
TERM=xterm-256color \

View file

@ -1,5 +1,10 @@
ARG PGSQL_VERSION
FROM postgres:$PGSQL_VERSION-alpine AS postgres
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-s3db" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-s3db"
RUN apk add --no-cache runit && \
apk --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/main add \
icu-libs \

View file

@ -1,6 +1,11 @@
FROM ubuntu:jammy AS mariadb-traptest
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-s3db" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-s3db"
COPY traptest.sh /usr/local/bin/traptest
RUN chmod +x /usr/local/bin/traptest
ENTRYPOINT ["/usr/local/bin/traptest"]
CMD []
STOPSIGNAL SIGINT
STOPSIGNAL SIGINT