This commit is contained in:
Torma Kristóf 2020-01-23 22:27:39 +01:00
commit 67bbf8c424
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 46 additions and 0 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: docker:stable-dind
volumes:
- name: dockersock
path: /var/run
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- sleep 5
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t="$DRONE_REPO:$DRONE_BUILD_NUMBER" . && docker push "$DRONE_REPO:$DRONE_BUILD_NUMBER"
- docker build -t="$DRONE_REPO" . && docker push "$DRONE_REPO"
services:
- name: docker
image: docker:stable-dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM ubuntu:bionic
RUN apt update \
&& apt upgrade -y \
&& DEBIAN_FRONTEND=noninteractive \
apt install -y aspell-hu bash bash-completion bc bzip2 cpio curl curlftpfs dash \
dnsutils elinks file findutils finger ftp gawk git gnupg grep gzip \
host hostname html2text hunspell info iputils-ping irssi jq less links \
locales locales-all locate login lsb-base lsof lynx man-db manpages \
manpages-hu mawk mc mime-support mlocate mutt myspell-hu nano netcat \
netcat-traditional net-tools nmap ntp ntpdate openssh-client passwd patch \
postfix pwgen screen sed silversearcher-ag sl strace tar tcpdump telnet texinfo \
time tmux traceroute unrar-free unzip util-linux vim w3m wget whois xmlto xz-utils \
iproute2