From 7943793fbf7f90d0e1deb713b78fb74afddea00a Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Tue, 18 Jan 2022 11:56:39 +0100 Subject: [PATCH] Verbose build, AMD64 features --- .drone.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0ab5000..695855f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,6 @@ steps: - name: backend image: golang:1.18-rc-bullseye commands: - - go build -o orbeat . + - GOAMD64=v2 go build -v -o orbeat . ... diff --git a/Dockerfile b/Dockerfile index ad5df41..7b59f52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.18-rc-bullseye COPY . /src/orbeat WORKDIR /src/orbeat -RUN go build -o orbeat . && mv orbeat /usr/bin && rm -rf /src/orbeat +RUN GOAMD64=v2 go build -v -o orbeat . && mv orbeat /usr/bin && rm -rf /src/orbeat WORKDIR / ENTRYPOINT ["/usr/bin/orbeat"] \ No newline at end of file