plugin

package module
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

release build codecov codeclimate license

dodo buildkit plugin

Adds support for buildkit as a dodo builder plugin.

In the current version, it will ony detect the default builder that comes with the docker daemon, similar to the docker cli.

installation

This plugin is already included in the dodo default distribution.

If you compile your own dodo distribution, you can add this plugin with the following generate config:

plugins:
  - import: github.com/wabenet/dodo-buildkit

Alternatively, you can install it as a standalone plugin by downloading the correct file for your system from the releases page, then copy it into the dodo plugin directory (${HOME}/.dodo/plugins).

configuration

The plugin will recognize DOCKER_HOST and DOCKER_CERT_PATH environment variables, as well as registry authentication configuration in ~/.docker, similar to the normal docker cli.

license & authors

Copyright 2022 Ole Claussen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncludeMe

func IncludeMe(m plugin.Manager)

func NewImageBuilder

func NewImageBuilder() builder.ImageBuilder

func NewImageBuilderWithDockerClient

func NewImageBuilderWithDockerClient(c *client.Client) builder.ImageBuilder

func RunMe

func RunMe() int

Types

This section is empty.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL