Skip to content

Commit 3a27799

Browse files
committed
feat(): make support
1 parent beb579f commit 3a27799

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@
1919

2020
# Go workspace file
2121
go.work
22+
.idea
23+
24+
25+
.idea/k8s-pod-cpu-stressor.iml
26+
.idea/modules.xml
27+
cpu-stress

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16-alpine AS build
1+
FROM golang:1.19-alpine AS build
22

33
WORKDIR /app
44

Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
.PHONY: docker-build
2+
docker-build:
3+
docker build -t k8s-pod-cpu-stressor:1.0.0 .
4+
5+
.PHONY: build
6+
build:
7+
go build -o cpu-stress .
8+
19

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/narmidm/k8s-pod-cpu-stressor
2+
3+
go 1.19

0 commit comments

Comments
 (0)