From 93f2bfef4d6d11d91d2be6cc35bb32f5cc9227c8 Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 30 Sep 2020 23:04:47 -0700 Subject: [PATCH] should work now --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 705d287..27fe03c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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