Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/cleansing #20

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -----
FROM docker.io/library/rust:1.78-alpine as builder
FROM docker.io/library/rust:1.78-alpine AS builder

# Set `SYSROOT` to a dummy path (default is /usr) because pkg-config-rs *always*
# links those located in that path dynamically but we want static linking, c.f.
Expand All @@ -22,14 +22,14 @@ RUN cargo build --bin lgc --release
# -----
FROM cgr.dev/chainguard/wolfi-base:latest

LABEL org.opencontainers.image.title "LogCraft CLI"
LABEL org.opencontainers.image.authors "LogCraft <[email protected]>"
LABEL org.opencontainers.image.url "https://github.com/LogCraftIO/logcraft-cli/pkgs/container/logcraft-cli"
LABEL org.opencontainers.image.documentation "https://docs.logcraft.io/"
LABEL org.opencontainers.image.source "https://github.com/LogCraftIO/logcraft-cli"
LABEL org.opencontainers.image.vendor "LogCraft"
LABEL org.opencontainers.image.licenses "MPL-2.0"
LABEL org.opencontainers.image.description "Easily build Detection-as-Code pipelines for modern security tools (SIEM, EDR, XDR, ...)"
LABEL org.opencontainers.image.title="LogCraft CLI"
LABEL org.opencontainers.image.authors="LogCraft <[email protected]>"
LABEL org.opencontainers.image.url="https://github.com/LogCraftIO/logcraft-cli/pkgs/container/logcraft-cli"
LABEL org.opencontainers.image.documentation="https://docs.logcraft.io/"
LABEL org.opencontainers.image.source="https://github.com/LogCraftIO/logcraft-cli"
LABEL org.opencontainers.image.vendor="LogCraft"
LABEL org.opencontainers.image.licenses="MPL-2.0"
LABEL org.opencontainers.image.description="Easily build Detection-as-Code pipelines for modern security tools (SIEM, EDR, XDR, ...)"

WORKDIR /srv/workspace
RUN chown -R nonroot.nonroot /srv/workspace
Expand Down
2 changes: 1 addition & 1 deletion src/bin/lgc.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2023 LogCraft, SAS.
// SPDX-License-Identifier: MPL-2.0

#![warn(unused_extern_crates)]
#![forbid(unsafe_code)]

use anyhow::Result;
use clap::builder::styling;
Expand Down