All Projects → drone-plugins → Drone Docker

drone-plugins / Drone Docker

Licence: apache-2.0
Drone plugin for publishing Docker images using Docker-in-Docker

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Drone Docker

Delta5 race timer
Multi-node video transmitter race timer for drone racing
Stars: ✭ 129 (-45.8%)
Mutual labels:  drone
Drone Ssh
Drone plugin for executing remote ssh commands
Stars: ✭ 155 (-34.87%)
Mutual labels:  drone
Hands On Devops
A hands-on DevOps course covering the culture, methods and repeated practices of modern software development involving Packer, Vagrant, VirtualBox, Ansible, Kubernetes, K3s, MetalLB, Traefik, Docker-Compose, Docker, Taiga, GitLab, Drone CI, SonarQube, Selenium, InSpec, Alpine 3.10, Ubuntu-bionic, CentOS 7...
Stars: ✭ 196 (-17.65%)
Mutual labels:  drone
Drone Keyboard
Drone Keyboard for Tello
Stars: ✭ 136 (-42.86%)
Mutual labels:  drone
Openkai
OpenKAI: A modern framework for unmanned vehicle and robot control
Stars: ✭ 150 (-36.97%)
Mutual labels:  drone
Mav active 3d planning
Modular framework for online informative path planning.
Stars: ✭ 164 (-31.09%)
Mutual labels:  drone
Interop
Interoperability System for the AUVSI SUAS Competition.
Stars: ✭ 123 (-48.32%)
Mutual labels:  drone
Jmuxer
jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Stars: ✭ 222 (-6.72%)
Mutual labels:  drone
Chorus Rf Laptimer
Stars: ✭ 155 (-34.87%)
Mutual labels:  drone
Drone Cache
A Drone plugin for caching current workspace files between builds to reduce your build times
Stars: ✭ 194 (-18.49%)
Mutual labels:  drone
Imageprocessing
MicaSense RedEdge and Altum image processing tutorials
Stars: ✭ 139 (-41.6%)
Mutual labels:  drone
Djim100 People Detect Track
A ros demo for people detection and tracking on DJI M100 drone
Stars: ✭ 150 (-36.97%)
Mutual labels:  drone
Clover
ROS-based framework and RPi image to control PX4-powered drones 🍀
Stars: ✭ 177 (-25.63%)
Mutual labels:  drone
Esp Drone
Mini Drone/Quadcopter Firmware for ESP32 and ESP32-S Series SoCs.
Stars: ✭ 132 (-44.54%)
Mutual labels:  drone
Gymfc
A universal flight control tuning framework
Stars: ✭ 210 (-11.76%)
Mutual labels:  drone
Jankdrone
The jankest autonomous drone ever built and programmed from scratch
Stars: ✭ 127 (-46.64%)
Mutual labels:  drone
Drone Gke
Drone plugin for deploying containers to Google Kubernetes Engine (GKE)
Stars: ✭ 159 (-33.19%)
Mutual labels:  drone
University1652 Baseline
ACM Multimedia2020 University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization 🚁 annotates 1652 buildings in 72 universities around the world.
Stars: ✭ 232 (-2.52%)
Mutual labels:  drone
Source one
Open Source FPV Drone Frame
Stars: ✭ 220 (-7.56%)
Mutual labels:  drone
Env Ci
Get environment variables exposed by CI services
Stars: ✭ 180 (-24.37%)
Mutual labels:  drone

drone-docker

Build Status Gitter chat Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Drone plugin uses Docker-in-Docker to build and publish Docker images to a container registry. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binaries with the following commands:

export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
export GO111MODULE=on

go build -v -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker
go build -v -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr
go build -v -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr
go build -v -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr
go build -v -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku

Docker

Build the Docker images with the following commands:

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/docker/Dockerfile.linux.amd64 --tag plugins/docker .

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/gcr/Dockerfile.linux.amd64 --tag plugins/gcr .

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/ecr/Dockerfile.linux.amd64 --tag plugins/ecr .

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/acr/Dockerfile.linux.amd64 --tag plugins/acr .

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/heroku/Dockerfile.linux.amd64 --tag plugins/heroku .

Usage

Notice: Be aware that the Docker plugin currently requires privileged capabilities, otherwise the integrated Docker daemon is not able to start.

docker run --rm \
  -e PLUGIN_TAG=latest \
  -e PLUGIN_REPO=octocat/hello-world \
  -e DRONE_COMMIT_SHA=d8dbe4d94f15fe89232e0402c6e8a0ddf21af3ab \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  --privileged \
  plugins/docker --dry-run
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].