Code Monkey home page Code Monkey logo

docker's Introduction

Opopops Docker library

A set of applications provided by opopops

Dagger

This repository provides a Docker dagger module and allows you to execute the following functions:

  • Run a container in a terminal (Just For fun):
dagger -m github.com/opopops/docker@main \
  call import --address=chainguard/wolfi-base terminal
  • Build a container using apko and export it as tarball on the host filesystem:
dagger -m github.com/opopops/docker@main \
  call apko --context="." --config="apko.yml" \
    export --output=<path>
  • Build a multi-platform container unsing apko and publish it:
dagger -m github.com/opopops/docker@main \
  call apko --arch="x86_64,arm64" --context="." --config="apko.yml" \
    publish --address=<image>
  • Build a container and export it as tarball on the host filesystem:
dagger -m github.com/opopops/docker@main \
  call build --context="." --dockerfile="Dockerfile" \
    export --output=<path>
  • Build a multi-platform container and publish it:
dagger -m github.com/opopops/docker@main \
  call build --platform="linux/amd64,linux/arm64" --context="." --dockerfile="Dockerfile" \
    publish --address=<image>
  • Build a multi-platform container, publish and sign it:
dagger -m github.com/opopops/docker@main \
  call build --platform="linux/amd64,linux/arm64" --context="." --dockerfile="Dockerfile" \
    publish --address=<image> \
    sign --private-key=env:COSIGN_PRIVATE_KEY --password=env:COSIGN_PASSWORD --registry-username=<username> --registry-password=env:REGISTRY_PASSWORD
  • Build a container and scan it using grype:
dagger -m github.com/opopops/docker@main \
  call build --platform="linux/amd64" --context="." --dockerfile="Dockerfile" \
    scan --fail-on=high

# Generate a JSON report
dagger -m github.com/opopops/docker@main \
  call build --platform="linux/amd64" --context="." --dockerfile="Dockerfile" \
    scan --output-format=json

# Generate a JSON report and write it to /tmp/grype.json
dagger -m github.com/opopops/docker@main \
  call build --platform="linux/amd64" --context="." --dockerfile="Dockerfile" \
    scan --output-format=json --output=/tmp/grype.json
  • Import a container and scan it using grype:
dagger -m github.com/opopops/docker@main \
  call --container=alpine:latest scan-report

docker's People

Contributors

opopops avatar renovate[bot] avatar ggguardian avatar

Stargazers

 avatar

Watchers

 avatar

docker's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
opopops/code-server/Dockerfile
  • docker/dockerfile 1
opopops/iac/Dockerfile
  • docker/dockerfile 1
opopops/k8s/Dockerfile
  • docker/dockerfile 1
opopops/keycloak/Dockerfile
  • docker/dockerfile 1
opopops/openvpn/Dockerfile
opopops/shell/Dockerfile
  • docker/dockerfile 1
regex
opopops/code-server/Dockerfile
  • sigstore/cosign 2.2.4
dagger.json
  • dagger/dagger v0.11.8
opopops/code-server/Dockerfile
  • dagger/dagger 0.11.8
opopops/iac/Dockerfile
  • dagger/dagger 0.11.8
opopops/code-server/Dockerfile
  • docker/cli 26.1.4
opopops/iac/Dockerfile
  • digitalocean/doctl 1.107.0
opopops/code-server/Dockerfile
  • anchore/grype 0.79.1
opopops/code-server/Dockerfile
  • helm/helm v3.15.2
opopops/iac/Dockerfile
  • helm/helm v3.15.2
opopops/k8s/Dockerfile
  • helm/helm v3.15.2
opopops/code-server/Dockerfile
  • helmfile/helmfile 0.165.0
opopops/iac/Dockerfile
  • helmfile/helmfile 0.165.0
opopops/k8s/Dockerfile
  • helmfile/helmfile 0.165.0
opopops/code-server/Dockerfile
  • derailed/k9s v0.32.5
opopops/iac/Dockerfile
  • derailed/k9s v0.32.5
opopops/k8s/Dockerfile
  • derailed/k9s v0.32.5
opopops/code-server/Dockerfile
  • hashicorp/terraform 1.8.5
opopops/iac/Dockerfile
  • hashicorp/terraform 1.8.5
opopops/code-server/Dockerfile
  • gruntwork-io/terragrunt 0.59.4
opopops/iac/Dockerfile
  • gruntwork-io/terragrunt 0.59.4
opopops/code-server/Dockerfile
  • opentofu/opentofu 1.7.2
opopops/iac/Dockerfile
  • opentofu/opentofu 1.7.2
opopops/code-server/Dockerfile
  • hashicorp/vault 1.17.0
opopops/iac/Dockerfile
  • hashicorp/vault 1.17.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.