From 946dc09cbf2b5d52cada662ee58d60bc3c135678 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 14 Oct 2024 19:53:20 -0700 Subject: [PATCH] this'll fix her part 2 --- .drone.yml | 4 ++-- Dockerfile | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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