Skip to content

Commit

Permalink
Disable go tags due to breaking the build
Browse files Browse the repository at this point in the history
Signed-off-by: David Porter <david@porter.me>
  • Loading branch information
bobbypage committed Oct 31, 2023
1 parent d19df4f commit f615c0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ ADD . .

ARG VERSION

# libipmctl only works on x86_64 CPUs.
RUN export GO_TAGS="libpfm,netgo"; \
if [ "$(uname --machine)" = "x86_64" ]; then \
export GO_TAGS="$GO_TAGS,libipmctl"; \
fi; \
GO_FLAGS="-tags=$GO_TAGS" ./build/build.sh
./build/build.sh

FROM mirror.gcr.io/library/alpine:3.16
MAINTAINER dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com stclair@google.com
Expand Down

0 comments on commit f615c0f

Please sign in to comment.