https://github.com/drone-plugins/drone-base
Base image used by the plugins
https://github.com/drone-plugins/drone-base
drone drone-plugin
Last synced: 4 months ago
JSON representation
Base image used by the plugins
- Host: GitHub
- URL: https://github.com/drone-plugins/drone-base
- Owner: drone-plugins
- License: apache-2.0
- Created: 2017-09-01T17:34:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2026-01-28T10:12:12.000Z (5 months ago)
- Last Synced: 2026-01-28T20:50:06.188Z (5 months ago)
- Topics: drone, drone-plugin
- Size: 260 KB
- Stars: 10
- Watchers: 4
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-base
[](http://harness.drone.io/drone-plugins/drone-base)
[](https://join.slack.com/t/harnesscommunity/shared_invite/zt-y4hdqh7p-RVuEQyIl5Hcx4Ck8VCvzBw)
[](https://community.harness.io)
[](https://stackoverflow.com/questions/tagged/drone.io)
This repository is used to build the base images for our plugins. On Linux it just adds a general `/etc/ssl/certs/ca-certificates.crt` and `/etc/mime.types` to an Alpine or a Scratch image depending on the tag. On Windows it targets the Nano Server that corresponds with the version of Windows in use.
## 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/Dockerfile.linux.multiarch \
--tag plugins/base:multiarch .
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/Dockerfile.linux.amd64 \
--tag plugins/base:linux-amd64 .
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/Dockerfile.linux.arm64 \
--tag plugins/base:linux-arm64 .
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/Dockerfile.windows.1809.amd64 \
--tag plugins/base:windows-1809-amd64 .
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/Dockerfile.windows.ltsc2022.amd64 \
--tag plugins/base:windows-ltsc2022-amd64 .
```