init
This commit is contained in:
		
							
								
								
									
										32
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								.drone.yml
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										14
									
								
								Dockerfile
									
									
									
									
									
										Normal 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user