This is my boilerplate for a Go http server project. Feedback and suggestions are encouraged!
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
gohttpserver/.drone.yml

17 行
324 B

kind: pipeline
name: test-docker-build
steps:
- name: test
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
#- echo nameserver 116.202.204.30 > /etc/resolv.conf
- docker build -t sneak/gohttpserver .
volumes:
- name: dockersock
host:
path: /var/run/docker.sock