Skip to content

Commit 95a0427

Browse files
authored
Merge pull request #3327 from caiocfer/fix-dockerfile-typo
Fix flags typo
2 parents e9068e3 + a074484 commit 95a0427

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -e
1919
export GOOS=${GOOS:-$(go env GOOS)}
2020
export GOARCH=${GOARCH:-$(go env GOARCH)}
2121
export CGO_ENABLED=${GO_CGO_ENABLED:-"1"}
22-
GO_FLAGS=${GO_FLAGS:-"-tags netgo"} # Extra go flags to use in the build.
22+
GO_FLAGS=${GO_FLAGS:-"-tags=netgo"} # Extra go flags to use in the build.
2323
BUILD_USER=${BUILD_USER:-"${USER}@${HOSTNAME}"}
2424
BUILD_DATE=${BUILD_DATE:-$( date +%Y%m%d-%H:%M:%S )}
2525
VERBOSE=${VERBOSE:-}

deploy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ADD . .
4040
ARG VERSION
4141

4242
# libipmctl only works on x86_64 CPUs.
43-
RUN export GO_TAGS="-tags=libfpm,netgo"; \
43+
RUN export GO_TAGS="libpfm,netgo"; \
4444
if [ "$(uname --machine)" = "x86_64" ]; then \
4545
export GO_TAGS="$GO_TAGS,libipmctl"; \
4646
fi; \

0 commit comments

Comments
 (0)