diff --git a/.drone.yml b/.drone.yml index a1390e4..27d61a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,11 +1,31 @@ +--- kind: pipeline -name: build +name: build-alpine steps: - name: publish image: plugins/docker settings: repo: turboregistry:5000/juju/turbo-ci + dockerfile: alpine/Dockerfile + tags: latest + insecure: true + registry: turboregistry:5000 + username: + from_secret: docker_username + password: + from_secret: docker_password + +--- +kind: pipeline +name: build-arch + +steps: + - name: publish + image: plugins/docker + settings: + repo: turboregistry:5000/juju/turbo-ci-arch + dockerfile: arch/Dockerfile tags: latest insecure: true registry: turboregistry:5000 diff --git a/Dockerfile b/alpine/Dockerfile similarity index 100% rename from Dockerfile rename to alpine/Dockerfile diff --git a/arch/Dockerfile b/arch/Dockerfile new file mode 100644 index 0000000..bea939a --- /dev/null +++ b/arch/Dockerfile @@ -0,0 +1,8 @@ +FROM archlinux:base-devel + +RUN pacman -Syy + +RUN pacman -Sy --noconfirm gcc clang \ + base-devel meson cmake autoconf autoconf-archive \ + musl \ + llvm