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