Skip to content

Commit c795119

Browse files
committed
chore: filter out dirs without go file when compile and build images
1 parent f30cdba commit c795119

File tree

23 files changed

+44
-136
lines changed

23 files changed

+44
-136
lines changed

.todo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
[?] 诊断平台
3737
[?] GraphQL API
3838
[?] 添加状态机
39+
[?] 场景:Webhook 展示修改镜像地址??
3940
---
4041

4142
[?] 创建一个项目开发者社区网站 + 群???

build/docker/gen-docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# Build the gen-docs binary
1111
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
12-
# Default <prod_image> is debian:jessie
13-
ARG prod_image=debian:jessie
12+
# Default <prod_image> is debian:trixie
13+
ARG prod_image=debian:trixie
1414

1515
FROM ${prod_image}
1616
LABEL maintainer="<[email protected]>"

build/docker/gen-docs/Dockerfile.multistage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Build the gen-docs binary
1111

1212
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
13-
# Default <prod_image> is debian:jessie
14-
ARG prod_image=debian:jessie
13+
# Default <prod_image> is debian:trixie
14+
ARG prod_image=debian:trixie
1515

1616
# Ignore Hadolint rule "Always tag the version of an image explicitly."
1717
# It's an invalid finding since the image is explicitly set in the Makefile.

build/docker/gen-man/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# Build the gen-man binary
1111
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
12-
# Default <prod_image> is debian:jessie
13-
ARG prod_image=debian:jessie
12+
# Default <prod_image> is debian:trixie
13+
ARG prod_image=debian:trixie
1414

1515
FROM ${prod_image}
1616
LABEL maintainer="<[email protected]>"

build/docker/gen-man/Dockerfile.multistage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Build the gen-man binary
1111

1212
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
13-
# Default <prod_image> is debian:jessie
14-
ARG prod_image=debian:jessie
13+
# Default <prod_image> is debian:trixie
14+
ARG prod_image=debian:trixie
1515

1616
# Ignore Hadolint rule "Always tag the version of an image explicitly."
1717
# It's an invalid finding since the image is explicitly set in the Makefile.

build/docker/gen-onex-docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# Build the gen-onex-docs binary
1111
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
12-
# Default <prod_image> is debian:jessie
13-
ARG prod_image=debian:jessie
12+
# Default <prod_image> is debian:trixie
13+
ARG prod_image=debian:trixie
1414

1515
FROM ${prod_image}
1616
LABEL maintainer="<[email protected]>"

build/docker/gen-onex-docs/Dockerfile.multistage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Build the gen-onex-docs binary
1111

1212
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
13-
# Default <prod_image> is debian:jessie
14-
ARG prod_image=debian:jessie
13+
# Default <prod_image> is debian:trixie
14+
ARG prod_image=debian:trixie
1515

1616
# Ignore Hadolint rule "Always tag the version of an image explicitly."
1717
# It's an invalid finding since the image is explicitly set in the Makefile.

build/docker/gen-onex-gorm-model/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# Build the gen-onex-gorm-model binary
1111
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
12-
# Default <prod_image> is debian:jessie
13-
ARG prod_image=debian:jessie
12+
# Default <prod_image> is debian:trixie
13+
ARG prod_image=debian:trixie
1414

1515
FROM ${prod_image}
1616
LABEL maintainer="<[email protected]>"

build/docker/gen-onex-gorm-model/Dockerfile.multistage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Build the gen-onex-gorm-model binary
1111

1212
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
13-
# Default <prod_image> is debian:jessie
14-
ARG prod_image=debian:jessie
13+
# Default <prod_image> is debian:trixie
14+
ARG prod_image=debian:trixie
1515

1616
# Ignore Hadolint rule "Always tag the version of an image explicitly."
1717
# It's an invalid finding since the image is explicitly set in the Makefile.

build/docker/gen-yaml/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# Build the gen-yaml binary
1111
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
12-
# Default <prod_image> is debian:jessie
13-
ARG prod_image=debian:jessie
12+
# Default <prod_image> is debian:trixie
13+
ARG prod_image=debian:trixie
1414

1515
FROM ${prod_image}
1616
LABEL maintainer="<[email protected]>"

0 commit comments

Comments
 (0)