diff --git a/.drone.yml b/.drone.yml index 10064c3..a01195b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,7 @@ steps: image: golang commands: - go install -v + - go build -tags purego - go test -p 1 -v ./... trigger: @@ -24,6 +25,7 @@ steps: image: golang commands: - go install -v + - go build -tags purego - go test -p 1 -v ./... - name: docker image: plugins/docker diff --git a/Dockerfile b/Dockerfile index 8609a59..24f5932 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN go mod download COPY . . RUN go install -v -RUN go build -o /app/hatecomputers +RUN go build -tags purego -o /app/hatecomputers EXPOSE 8080