This commit is contained in:
Armin Friedl 2020-02-16 03:03:02 +01:00
commit d26c0c117e
3 changed files with 33 additions and 0 deletions

13
.drone.yml Normal file
View file

@ -0,0 +1,13 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: arminfriedl/xwim-build
tags: latest

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM alpine:latest
RUN apk add meson ninja spdlog-dev fmt-dev libarchive-dev \
g++ libstdc++ libc-dev libgcc\
&& mkdir /build/
COPY ./entrypoint.sh /usr/local/bin
WORKDIR /build/
CMD ["entrypoint.sh"]

9
entrypoint.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
pwd
ls -al
meson target
ninja -C target