Skip to content

Commit

Permalink
Add gcc requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnwa committed Apr 10, 2019
1 parent 56fd59d commit dacae56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Expand Up @@ -9,7 +9,7 @@ steps:
- name: build
image: golang:alpine
commands:
- apk add git gcc
- apk add git gcc libc-dev
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -3,7 +3,7 @@ FROM golang:alpine as builder
COPY . $GOPATH/src/Recon/
WORKDIR $GOPATH/src/Recon/

RUN apk add git gcc && \
RUN apk add git && \
go get -u github.com/golang/dep/cmd/dep && \
dep ensure
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags="-w -s" -o /home/go/Recon/service
Expand Down

0 comments on commit dacae56

Please sign in to comment.