We need gcc I guess...
This commit is contained in:
		@ -5,7 +5,11 @@ type: docker
 | 
				
			|||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: test
 | 
					  - name: test
 | 
				
			||||||
    image: golang:alpine
 | 
					    image: golang:alpine
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - name: build
 | 
				
			||||||
 | 
					        path: /build
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
 | 
					      - apk --no-cache add git gcc musl-dev
 | 
				
			||||||
      - go test ./...
 | 
					      - go test ./...
 | 
				
			||||||
  - name: build
 | 
					  - name: build
 | 
				
			||||||
    image: golang:alpine
 | 
					    image: golang:alpine
 | 
				
			||||||
@ -13,6 +17,7 @@ steps:
 | 
				
			|||||||
      - name: build
 | 
					      - name: build
 | 
				
			||||||
        path: /build
 | 
					        path: /build
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
 | 
					      - apk --no-cache add git gcc musl-dev
 | 
				
			||||||
      - go build -o /build/godns
 | 
					      - go build -o /build/godns
 | 
				
			||||||
  - name: docker
 | 
					  - name: docker
 | 
				
			||||||
    image: plugins/docker
 | 
					    image: plugins/docker
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user