From 345ae7e1d213f35f049218b917c09941ab3cf7b6 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 14 Oct 2024 19:50:26 -0700 Subject: [PATCH] attempt to decrease build times --- .drone.yml | 2 ++ Dockerfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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