From d26c0c117e23abb1496906b1f4074525812d1305 Mon Sep 17 00:00:00 2001 From: Armin Friedl Date: Sun, 16 Feb 2020 03:03:02 +0100 Subject: [PATCH] Init --- .drone.yml | 13 +++++++++++++ Dockerfile | 11 +++++++++++ entrypoint.sh | 9 +++++++++ 3 files changed, 33 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile create mode 100755 entrypoint.sh 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