Skip to content

Commit 1add0a5

Browse files
committed
adjust mkfile
1 parent d9c8084 commit 1add0a5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ WORKDIR /qq
44
COPY . .
55
ENV CGO_ENABLED 0
66
RUN go mod download && go mod verify
7-
RUN apt update -y && apt install jq -y && make publish
7+
RUN make build
8+
RUN apt update -y && apt install jq -y && make test
89

910
FROM gcr.io/distroless/static:debug
1011

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ build:
1111
test: build
1212
./tests/test.sh
1313

14-
publish:
15-
./tests/test.sh
16-
go build -o bin/$(BINARY) $(SRC)
17-
1814
clean:
1915
rm bin/$(BINARY)
2016

0 commit comments

Comments
 (0)