commit 67bbf8c4245a9f1a74fc9e14bda689acd386afab Author: Torma Kristóf Date: Thu Jan 23 22:27:39 2020 +0100 init diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2443770 --- /dev/null +++ b/.drone.yml @@ -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: {} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e67ae1b --- /dev/null +++ b/Dockerfile @@ -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