should work now
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jeffrey Paul 2020-09-30 23:04:47 -07:00
parent 8f3b972ca6
commit 93f2bfef4d
1 changed files with 1 additions and 7 deletions

View File

@ -7,15 +7,9 @@ COPY ./ ./
RUN golangci-lint run
## build image:
#ARG GO_VERSION=1.15
FROM golang:1.15-buster AS builder
RUN mkdir /user && \
echo 'nobody:x:65534:65534:nobody:/:' > /user/passwd && \
echo 'nobody:x:65534:' > /user/group
RUN apk add --no-cache ca-certificates git bzip2 make gcc libc-dev
#RUN GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.31.0
RUN apt update && apt install -y make bzip2
RUN mkdir -p /build
WORKDIR /build