Using Makefile in Dockerfile

This commit is contained in:
Paulo Truta
2021-02-12 01:23:16 +01:00
parent 2e8a73d0ea
commit b689115105
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ build:
-X ${PROJECT}/internal/diagnostics.Commit=${COMMIT} \
-X ${PROJECT}/internal/diagnostics.BuildDate=${BUILD_DATE}" \
-o bin/sysctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/sysctl
cp ./bin/sysctl-${GOOS}-${GOARCH} ./bin/sysctl
clean:
rm -rf ${BUILD_DIR}