Docker + CI

This commit is contained in:
Jörn-Michael Miehe 2021-09-28 19:54:22 +02:00
parent 49e3b504fc
commit d7a955b68a
3 changed files with 35 additions and 0 deletions

16
.drone.yml Normal file
View file

@ -0,0 +1,16 @@
---
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: ldericher/kind
# auto_tag: true
tags:
- latest
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:3.6-alpine3.13
ENV PYTHONUNBUFFERED 1
RUN set -ex; \
# install prerequisites
apk add --no-cache \
docker-cli \
docker-compose \
;
COPY . /usr/src/kiwi_scp
RUN set -ex; \
pip3 --use-feature=in-tree-build install /usr/src/kiwi_scp
ENTRYPOINT ["kiwi"]

View file

@ -1,5 +1,7 @@
# kiwi-scp
[![Build Status](https://github.drone.yavook.de/api/badges/ldericher/kiwi-scp/status.svg)](https://github.drone.yavook.de/ldericher/kiwi-scp)
> `kiwi` - simple, consistent, powerful
The simple tool for managing container servers