You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,6 @@ COPY .git/ .git/
15
15
COPY api/ api/
16
16
COPY shared/ shared/
17
17
COPY manager/ manager/
18
-
RUN go generate ./shared/util/version.go
19
18
RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -a -ldflags="-X 'github.com/argoproj-labs/argo-dataflow/shared/util.message=xx$(git log -n1 --oneline)'" -o bin/manager ./manager
20
19
21
20
FROM gcr.io/distroless/static:nonroot AS controller
@@ -29,7 +28,6 @@ COPY .git/ .git/
29
28
COPY api/ api/
30
29
COPY shared/ shared/
31
30
COPY runner/ runner/
32
-
RUN go generate ./shared/util/version.go
33
31
RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -a -ldflags="-X 'github.com/argoproj-labs/argo-dataflow/shared/util.message=xx$(git log -n1 --oneline)'" -o bin/runner ./runner
34
32
COPY kill/ kill/
35
33
RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -a -ldflags="-X 'github.com/argoproj-labs/argo-dataflow/shared/util.message=xx$(git log -n1 --oneline)'" -o bin/kill ./kill
0 commit comments