commit d26c0c117e23abb1496906b1f4074525812d1305 Author: Armin Friedl Date: Sun Feb 16 03:03:02 2020 +0100 Init diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8f56df4 --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e5f3ccf --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..7ee6a90 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +pwd + +ls -al + +meson target + +ninja -C target