Giter VIP home page Giter VIP logo

autodockerbake's Introduction

How to use

Either install Go or run the provided binary. Go binaries are (mostly) self-contained. (A majore exception would be glibc). Binaries can be found in the current release.

Options: --username, Docker username --registry_prefix, Prefix appended to all images' name --modules_path, Path to explore for finding Docker Bake targets --log, Log level

Install Go

rm -rf /usr/local/go
wget https://go.dev/dl/go1.20.5.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz

# For bash
echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile
source $HOME/.profile
# For fish
fish_add_path /usr/local/go/bin

go version

Developement

Managing Go dependencies

go get --upgrade <package>
# Import in your package
go mod tidy # will take care of adding it to go.mod and go.sum

To explore

  1. Matrices are integrated to buildx for bake target (added in v0.11.0-rc1). See: https://github.com/docker/buildx/releases/tag/v0.11.0-rc1
  2. Buildx supports multi-outputs (see moby/buildkit#1555); allows to generate a requirements.txt and an image using the same container building process, for example

autodockerbake's People

Contributors

matthieucx avatar

Watchers

 avatar

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.