diff --git a/.drone.yml b/.drone.yml index 10064c3..8266ec2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: - name: run tests image: golang commands: - - go install -v + - go build -tags purego - go test -p 1 -v ./... trigger: @@ -23,7 +23,7 @@ steps: - name: run tests 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..e36c184 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,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