mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-21 23:56:45 +08:00
feat(构建镜像): 添加构建镜像相关文件
This commit is contained in:
parent
5f497c91ec
commit
d021217ef5
15
.drone.yml
Normal file
15
.drone.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
pull: if-not-exists
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: xiaoqidun/goenv
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
dockerfile: Dockerfile
|
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# 基础镜像
|
||||||
|
FROM golang:buster
|
||||||
|
|
||||||
|
# 作者信息
|
||||||
|
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||||
|
|
||||||
|
# 安装工具
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y \
|
||||||
|
unzip
|
Loading…
x
Reference in New Issue
Block a user