From 02fa79e9ce095539a8f8aabad727b262ce322842 Mon Sep 17 00:00:00 2001 From: mitch Date: Tue, 4 Jan 2022 20:27:35 -0500 Subject: [PATCH] Fixed build --- Dockerfile | 6 ++---- Makefile | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 74735ac..8bb2358 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 83e58ad..c05ba70 100644 --- a/Makefile +++ b/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 ####################################################