Initial scaffold: dev toolchain agent container
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
bin/
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker-build
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
repo: git.unkin.net/unkin/agent-dev
|
||||||
|
dry_run: true
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
when:
|
||||||
|
- event: tag
|
||||||
|
ref: refs/tags/v*
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
registry: git.unkin.net
|
||||||
|
repo: git.unkin.net/unkin/agent-dev
|
||||||
|
username: droneci
|
||||||
|
password:
|
||||||
|
from_secret: DRONECI_PASSWORD
|
||||||
|
tags:
|
||||||
|
- ${CI_COMMIT_TAG}
|
||||||
|
- latest
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
FROM git.unkin.net/unkin/agent-base:latest
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN dnf install -y \
|
||||||
|
golang \
|
||||||
|
nodejs \
|
||||||
|
npm \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
make \
|
||||||
|
ripgrep \
|
||||||
|
&& dnf clean all
|
||||||
|
|
||||||
|
USER agent
|
||||||
Reference in New Issue
Block a user