initial commit
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-02-09 15:29:00 +01:00
parent df1214c2f7
commit a410b1468b
2 changed files with 50 additions and 0 deletions

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
---
kind: pipeline
name: default
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
dry_run: true
password:
from_secret: docker_password
repo: xoxys/rpmbuild-centos7
tags: linux-amd64
username:
from_secret: docker_username
when:
event:
- pull_request
- name: publish
pull: always
image: plugins/docker:linux-amd64
settings:
auto_tag: true
password:
from_secret: docker_password
repo: xoxys/rpmbuild-centos7
username:
from_secret: docker_username
when:
event:
- push
- tag

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM centos:7
RUN yum install -y gcc gcc-c++ \
libtool libtool-ltdl \
make cmake \
git \
pkgconfig \
wget \
automake autoconf \
yum-utils rpm-build && \
yum clean all
USER root
ENV FLAVOR=rpmbuild OS=centos DIST=el7
CMD /srv/pkg