aqua-docker

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 2 Imported by: 0

README

aqua-docker

Install tools in Docker image

Overview

aqua-docker is a CLI installing CLIs in Docker images.

⚠ Restriction

aqua-docker assumes that installed CLIs work as a single executable file. So some tools such as tfenv can't be supported.

Requirements

  • Docker

How to use

Please run aqua-docker by go run command in Dockerfile.

e.g.

FROM golang:1.18.4 AS aqua
COPY aqua.yaml /aqua.yaml
RUN go run github.com/aquaproj/aqua-docker@v0.1.0 --aqua-version v1.17.1 --config /aqua.yaml --dest /dist actionlint reviewdog

FROM alpine:latest
RUN apk --no-cache add ca-certificates
COPY --from=aqua /dist/* /usr/local/bin/

How does it works?

  1. Install aqua
  2. Run aqua i
  3. Create a directory (By default, the directory path is dist, but you can change this by -dest option) and copy files at the directory

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api

Jump to

Keyboard shortcuts

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