File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 15
15
# Build arguments
16
16
ARG SOURCE_CODE=.
17
17
18
- FROM registry.access.redhat.com/ubi9/go-toolset:1.23 as builder
18
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
19
19
20
20
USER root
21
21
@@ -35,15 +35,15 @@ RUN GO111MODULE=on CGO_ENABLED=1 GOEXPERIMENT=strictfipsruntime go build -tags s
35
35
dnf clean all
36
36
37
37
# 2. Compile preloaded pipeline samples
38
- FROM registry.access.redhat.com/ubi9/python-39:9.5 as compiler
38
+ FROM registry.access.redhat.com/ubi9/python-39:9.5 AS compiler
39
39
USER root
40
40
RUN dnf install -y python3-setuptools jq
41
41
RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
42
42
COPY backend/requirements.txt .
43
43
RUN python3 -m pip install -r requirements.txt --no-cache-dir
44
44
45
45
# Downloading Argo CLI so that the samples are validated
46
- ENV ARGO_VERSION v3.5.14
46
+ ENV ARGO_VERSION= v3.5.14
47
47
RUN curl -sLO https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-amd64.gz && \
48
48
gunzip argo-linux-amd64.gz && \
49
49
chmod +x argo-linux-amd64 && \
Original file line number Diff line number Diff line change 15
15
# Build arguments
16
16
ARG SOURCE_CODE=.
17
17
18
- FROM registry.access.redhat.com/ubi9/go-toolset:1.23 as builder
18
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
19
19
20
20
21
21
## Build args to be used at this step
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ ARG SOURCE_CODE=.
17
17
ARG CI_CONTAINER_VERSION="unknown"
18
18
19
19
20
- FROM registry.access.redhat.com/ubi9/go-toolset:1.23 as builder
20
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
21
21
22
22
23
23
## Build args to be used at this step
Original file line number Diff line number Diff line change 16
16
ARG SOURCE_CODE=.
17
17
ARG CI_CONTAINER_VERSION="unknown"
18
18
19
- FROM registry.access.redhat.com/ubi9/go-toolset:1.23 as builder
19
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
20
20
21
21
## Build args to be used at this step
22
22
ARG SOURCE_CODE
@@ -42,15 +42,15 @@ WORKDIR /bin
42
42
43
43
COPY --from=builder /bin/persistence_agent /bin/persistence_agent
44
44
45
- ENV NAMESPACE ""
45
+ ENV NAMESPACE= ""
46
46
47
47
# Set Workflow TTL to 1 day. The way to use a different value for a particular Kubeflow Pipelines deployment is demonstrated in manifests/kustomize/base/pipeline/ml-pipeline-persistenceagent-deployment.yaml
48
- ENV TTL_SECONDS_AFTER_WORKFLOW_FINISH 86400
48
+ ENV TTL_SECONDS_AFTER_WORKFLOW_FINISH= 86400
49
49
50
50
# NUM_WORKERS indicates now many worker goroutines
51
- ENV NUM_WORKERS 2
52
- ENV LOG_LEVEL info
51
+ ENV NUM_WORKERS= 2
52
+ ENV LOG_LEVEL= info
53
53
54
- ENV EXECUTIONTYPE Workflow
54
+ ENV EXECUTIONTYPE= Workflow
55
55
56
56
CMD persistence_agent --logtostderr=true --namespace=${NAMESPACE} --ttlSecondsAfterWorkflowFinish=${TTL_SECONDS_AFTER_WORKFLOW_FINISH} --numWorker ${NUM_WORKERS} --executionType ${EXECUTIONTYPE} --logLevel=${LOG_LEVEL}
Original file line number Diff line number Diff line change 15
15
# Build arguments
16
16
ARG SOURCE_CODE=.
17
17
18
- FROM registry.access.redhat.com/ubi9/go-toolset:1.23 as builder
18
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
19
19
20
20
## Build args to be used at this step
21
21
ARG SOURCE_CODE
@@ -51,7 +51,7 @@ RUN chmod +x /bin/controller
51
51
RUN microdnf makecache && \
52
52
microdnf install -y tzdata.noarch
53
53
54
- ENV NAMESPACE ""
55
- ENV LOG_LEVEL info
54
+ ENV NAMESPACE= ""
55
+ ENV LOG_LEVEL= info
56
56
57
57
CMD /bin/controller --logtostderr=true --namespace=${NAMESPACE} --logLevel=${LOG_LEVEL}
You can’t perform that action at this time.
0 commit comments