Code Monkey home page Code Monkey logo

Comments (6)

dlorenc avatar dlorenc commented on May 18, 2024

cc @mattmoor @r2d4 wdyt?

from distroless.

mattmoor avatar mattmoor commented on May 18, 2024

I think that we'll want two rules:

   deb_mirror(
       name = "blah",
       url = "https://...",
       # Forget what these are called off the top of my head :)
       foo = "main",
       bar = "jessie",
   )

   deb_pkg(
      name = "openssl",
      mirror = ":blah",
      version = "...",
   )

Alternately we could specify the channel in the rules, but I think this provides a nice way of sharing the deb source. WDYT?

from distroless.

r2d4 avatar r2d4 commented on May 18, 2024

Just looking that travis rules we recently added, maybe we want to expose something similar?

https://docs.travis-ci.com/user/installing-dependencies/#Installing-Packages-on-Container-Based-Infrastructure

Maybe a top level

deb(
    sources = ["trusty"],
    packages = [
        "gcc-4.8",
        "...",
    ],
)

from distroless.

mattmoor avatar mattmoor commented on May 18, 2024

@r2d4 Fixed?

from distroless.

dlorenc avatar dlorenc commented on May 18, 2024

I think there's a bit more work around SHA/checksum validation, but that could be a separate issue.

from distroless.

r2d4 avatar r2d4 commented on May 18, 2024

Closing, there's still a bit more work to be done around UX and validation, but I think this issue can be closed because the rules are in a usable state.

from distroless.

Related Issues (20)

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.