diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..876d85d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +--- +kind: pipeline +name: default + +steps: +- name: docker + image: plugins/docker + settings: + repo: ldericher/autodoc + context: src + dockerfile: src/Dockerfile + auto_tag: true + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD diff --git a/README.md b/README.md index 14cc6e3..cf32205 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # autodoc +[![Build Status](https://github.drone.yavook.de/api/badges/ldericher/autodoc/status.svg)](https://github.drone.yavook.de/ldericher/autodoc) + [`autodoc`](https://github.com/ldericher/autodoc) is a simple [CI](https://en.wikipedia.org/wiki/Continuous_integration) system optimized for document creation. In general, any file-sharing solution -- preferably on top of `docker-compose` -- can be made into an automatic document distribution system by adding an `autodoc` instance. diff --git a/docker-compose.yml b/docker-compose.yml index cad3529..7f5fb2e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,5 @@ version: "2" -volumes: - phyLinux-home: - services: autodoc: restart: "no" diff --git a/src/Dockerfile b/src/Dockerfile index c74c5d8..c9180e1 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,8 +1,9 @@ FROM ldericher/pandocker:latest -RUN apt-get update && apt-get -y install \ +RUN set -ex; \ + apt-get update && apt-get -y install \ inotify-tools \ -&& rm -rf /var/lib/apt/lists/* + ; rm -rf /var/lib/apt/lists/*; COPY usr /usr