Giter Site home page Giter Site logo

debricked / cli Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 7.0 25.64 MB

Debricked's command line interface. It brings open source security, compliance and health to your project via the command prompt.

License: MIT License

Dockerfile 1.18% Go 97.98% Makefile 0.13% Shell 0.61% Groovy 0.11%
cli debricked sca

cli's People

Contributors

4ernovm avatar antondebricked avatar carltern avatar codesee-maps[bot] avatar debricked-nils avatar emilwareus avatar filip-debricked avatar jonna-debricked avatar kalameetim avatar kravalg avatar nilszeilon avatar proghaj avatar splinter0 avatar sweoggy avatar viktigpetterr avatar zozs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cli's Issues

CLI is built with go 1.20, but apk add go install go 1.19 in Dockerfile

In the multistage Dockerfile that is used to build the official release of the image there is a problem with go versions:

Under the first scope (FROM golang:1.20-alpine AS dev) go 1.20 is used, but under the second scope:

FROM alpine:latest AS cli
...
RUN apk --no-cache --update add go

Alpine will resolve to go version 1.19 today.

It is probably good to be explicit about what version of go to install, rather than rely on whatever is distributed through Alpine right now.

This affects the resolution-cmd branch.

Add --no-install command to resolve command

Add the ability to resolve dependency trees and generate lock-files without installing dependencies. This is relevant because I already have all my dependencies installed in a private image that I'm using as a base to perform the Debricked scan in my CI, therefore I would just like to resolve my (pip) lock files and scan them, without installing stuff.

Distribute images for different distros

Package installation can be complex sometimes and depend on the underlying OS. For pip, installing some c-compiled packages may require re-compilation of that package during installation on Alpine distros. But, pip can simply download the relevant files on Debian without compilation.

It would be great if I could choose what distro my debricked/cli image was so that I can pick the distro best suited to my needs (and not re-compile pandas 100 times a day ๐Ÿ›ฉ๏ธ )

Python virtual env not removed if resolve fails

When running debricked resolve on a python project, if the command is successful, the generated requirements.txt.venv folder is removed. But if the command fails for some reason, the requirements.txt.venv folder remains in the project root.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.