Fixed build
This commit is contained in:
parent
350377b364
commit
02fa79e9ce
@ -4,12 +4,10 @@ RUN mkdir /tmp/redisloadtest
|
||||
|
||||
WORKDIR /tmp/redisloadtest
|
||||
|
||||
COPY go.mod .
|
||||
COPY go.sum .
|
||||
COPY redisLoadTest.go .
|
||||
COPY . .
|
||||
|
||||
RUN set -ex \
|
||||
&& go build -o redisLoadTest redisLoadTest.go
|
||||
&& go build -o redisLoadTest
|
||||
|
||||
FROM golang:1.17.5-bullseye AS redisloadtest
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ build:
|
||||
# Local Build
|
||||
####################################################
|
||||
build-local:
|
||||
go build -o redisLoadTest redisLoadTest.go
|
||||
go build -o redisLoadTest
|
||||
####################################################
|
||||
# Prune docker environment of stale resources
|
||||
####################################################
|
||||
|
Loading…
Reference in New Issue
Block a user