diff --git a/.drone.yml b/.drone.yml index df53108..92d5313 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,6 +26,17 @@ steps: username: burble password: from_secret: TOKEN + +- name: docker debian + image: plugins/docker + settings: + dockerfile: Dockerfile.debian + registry: git.burble.dn42 + repo: git.burble.dn42/burble.dn42/bird-build + tags: debian + username: burble + password: + from_secret: TOKEN --- kind: secret @@ -34,8 +45,3 @@ get: path: burble.dn42/kv/data/drone/git.burble.dn42 name: artifact-token ---- -kind: signature -hmac: d3be7849b4028550d4cb3dea53675ded9cc689204276c2bd245cb35cfd466bfc - -... diff --git a/Dockerfile.debian b/Dockerfile.debian new file mode 100644 index 0000000..14f22cb --- /dev/null +++ b/Dockerfile.debian @@ -0,0 +1,5 @@ +FROM debian:bookworm +RUN apt -y update && apt -y dist-upgrade && apt -y install build-essential curl git autoconf flex bison linux-headers-generic libncurses-dev libreadline-dev && apt -y autoremove --purge && apt -y autoclean && rm -rf /var/cache/apt/archives +ADD build.sh /build.sh +RUN echo "debian" > /dist +ENTRYPOINT [ '/build.sh' ]