Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Katib image build failed because of Golang version #2016

Closed
elenzio9 opened this issue Nov 17, 2022 · 13 comments
Closed

Katib image build failed because of Golang version #2016

elenzio9 opened this issue Nov 17, 2022 · 13 comments
Labels

Comments

@elenzio9
Copy link
Contributor

/kind bug

What steps did you take and what happened:
Trying to build the katib image, I'm getting the following error:

Step 27/32 : RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -o katib-ui  ./cmd/new-ui/v1beta1
 ---> Running in 1361a0fd83b9
# k8s.io/apimachinery/third_party/forked/golang/reflect
/go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/reflect/deep_equal.go:376:7: undefined: reflect.Pointer
note: module requires Go 1.19
# k8s.io/apimachinery/pkg/util/validation/field
/go/pkg/mod/k8s.io/[email protected]/pkg/util/validation/field/errors.go:69:33: undefined: reflect.Pointer
note: module requires Go 1.19
# k8s.io/apimachinery/pkg/conversion/queryparams
/go/pkg/mod/k8s.io/[email protected]/pkg/conversion/queryparams/convert.go:58:17: undefined: reflect.Pointer
/go/pkg/mod/k8s.io/[email protected]/pkg/conversion/queryparams/convert.go:142:7: undefined: reflect.Pointer
note: module requires Go 1.19
# sigs.k8s.io/json/internal/golang/encoding/json
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:96:31: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:177:35: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:428:37: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:937:48: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1143:45: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1160:42: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1195:52: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1261:42: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:158:16: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:175:22: undefined: any
/go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:175:22: too many errors
note: module requires Go 1.18
# k8s.io/apimachinery/third_party/forked/golang/json
/go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/json/fields.go:31:17: undefined: reflect.Pointer
/go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/json/fields.go:186:40: undefined: reflect.Pointer
note: module requires Go 1.19
# k8s.io/client-go/third_party/forked/golang/template
/go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/template/exec.go:20:20: undefined: reflect.Pointer
/go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/template/exec.go:34:17: undefined: reflect.Pointer
/go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/template/exec.go:42:22: undefined: reflect.PointerTo
note: module requires Go 1.19
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -o katib-ui  ./cmd/new-ui/v1beta1' returned a non-zero code: 2

I also tried docker build . -f cmd/new-ui/v1beta1/Dockerfile -t ${IMG}:${TAG} --no-cache in case of having an older golang image cached but the error persists.

Impacted by this bug? Give it a 👍 We prioritize the issues with the most 👍

@tenzen-y
Copy link
Member

@elenzio9 Thanks for creating this!

Can you run the following command?

echo -e "\nBuilding Katib UI image...\n"
docker buildx build --platform "linux/${ARCH}" -t "${REGISTRY}/katib-ui:${TAG}" -f ${CMD_PREFIX}/new-ui/${VERSION}/Dockerfile .

@elenzio9
Copy link
Contributor Author

Can you run the following command?

echo -e "\nBuilding Katib UI image...\n"
docker buildx build --platform "linux/${ARCH}" -t "${REGISTRY}/katib-ui:${TAG}" -f ${CMD_PREFIX}/new-ui/${VERSION}/Dockerfile .

@tenzen-y Thank you for your quick response!

I tried it but unfortunately got the same error:

 => ERROR [go-build 8/8] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o katib-ui  ./cmd/new-ui/v1beta1                                      14.7s
------
 > [go-build 8/8] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o katib-ui  ./cmd/new-ui/v1beta1:
#17 6.829 # k8s.io/apimachinery/third_party/forked/golang/reflect
#17 6.829 /go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/reflect/deep_equal.go:376:7: undefined: reflect.Pointer
#17 6.829 note: module requires Go 1.19
#17 6.968 # k8s.io/apimachinery/pkg/util/validation/field
#17 6.968 /go/pkg/mod/k8s.io/[email protected]/pkg/util/validation/field/errors.go:69:33: undefined: reflect.Pointer
#17 6.968 note: module requires Go 1.19
#17 7.079 # k8s.io/apimachinery/pkg/conversion/queryparams
#17 7.079 /go/pkg/mod/k8s.io/[email protected]/pkg/conversion/queryparams/convert.go:58:17: undefined: reflect.Pointer
#17 7.079 /go/pkg/mod/k8s.io/[email protected]/pkg/conversion/queryparams/convert.go:142:7: undefined: reflect.Pointer
#17 7.079 note: module requires Go 1.19
#17 7.108 # sigs.k8s.io/json/internal/golang/encoding/json
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:96:31: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:177:35: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:428:37: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:937:48: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1143:45: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1160:42: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1195:52: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/decode.go:1261:42: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:158:16: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:175:22: undefined: any
#17 7.108 /go/pkg/mod/sigs.k8s.io/[email protected]/internal/golang/encoding/json/encode.go:175:22: too many errors
#17 7.108 note: module requires Go 1.18
#17 9.324 # k8s.io/apimachinery/third_party/forked/golang/json
#17 9.324 /go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/json/fields.go:31:17: undefined: reflect.Pointer
#17 9.324 /go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/json/fields.go:186:40: undefined: reflect.Pointer
#17 9.324 note: module requires Go 1.19
#17 10.47 # k8s.io/client-go/third_party/forked/golang/template
#17 10.47 /go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/template/exec.go:20:20: undefined: reflect.Pointer
#17 10.47 /go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/template/exec.go:34:17: undefined: reflect.Pointer
#17 10.47 /go/pkg/mod/k8s.io/[email protected]/third_party/forked/golang/template/exec.go:42:22: undefined: reflect.PointerTo
#17 10.47 note: module requires Go 1.19
------
error: failed to solve: executor failed running [/bin/sh -c CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -o katib-ui  ./cmd/new-ui/v1beta1]: exit code: 2

@tenzen-y
Copy link
Member

tenzen-y commented Nov 17, 2022

hmm.
In my local machine, I could not reproduce that error.

Can you tell me about the commit version? Are you using the master branch?

Build Log
docker buildx build --platform "linux/amd64" -t "foo/katib-ui:bar" -f ./cmd/new-ui/v1beta1/Dockerfile .
[+] Building 165.5s (24/36)                                                                                                                                                                                                             
[+] Building 165.7s (24/36)                                                                                                                                                                                                             
[+] Building 720.7s (33/36)                                                                                                                                                                                                             
 => [internal] load metadata for docker.io/library/node:12                                                                                                                                                                       720.6s
[+] Building 720.9s (33/36)                                                                                                                                                                                                             
 => [internal] load metadata for docker.io/library/node:12                                                                                                                                                                       720.8s
 => [go-build 7/8] COPY pkg/ pkg/                                                                                                                                                                                                  0.1s
[+] Building 721.2s (33/36)                                                                                                                                                                                                             
[+] Building 1096.7s (36/37)                                                                                                                                                                                                            
 => [internal] load build definition from Dockerfile                                                                                                                                                                               0.0s
 => => transferring dockerfile: 1.52kB                                                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                  0.0s
 => => transferring context: 35B                                                                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/alpine:3.15                                                                                                                                                                     0.9s
 => [internal] load metadata for docker.io/library/golang:alpine                                                                                                                                                                   1.3s
 => [internal] load metadata for docker.io/library/ubuntu:latest                                                                                                                                                                   1.5s
 => [internal] load metadata for docker.io/library/node:12                                                                                                                                                                      1096.6s
 => [fetch-kubeflow-kubeflow 1/5] FROM docker.io/library/ubuntu@sha256:4b1d0c4a2d2aaf63b37111f34eb9fa89fa1bf53dd6e4ca954d47caebca4005c2                                                                                            8.7s
 => => resolve docker.io/library/ubuntu@sha256:4b1d0c4a2d2aaf63b37111f34eb9fa89fa1bf53dd6e4ca954d47caebca4005c2                                                                                                                    0.0s
 => => sha256:4b1d0c4a2d2aaf63b37111f34eb9fa89fa1bf53dd6e4ca954d47caebca4005c2 1.42kB / 1.42kB                                                                                                                                     0.0s
 => => sha256:817cfe4672284dcbfee885b1a66094fd907630d610cab329114d036716be49ba 529B / 529B                                                                                                                                         0.0s
 => => sha256:a8780b506fa4eeb1d0779a3c92c8d5d3e6a656c758135f62826768da458b5235 1.46kB / 1.46kB                                                                                                                                     0.0s 
 => => sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 30.43MB / 30.43MB                                                                                                                                   7.2s 
 => => extracting sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281                                                                                                                                          1.2s 
 => [internal] load build context                                                                                                                                                                                                  0.2s
 => => transferring context: 1.38MB                                                                                                                                                                                                0.2s
 => [go-build 1/8] FROM docker.io/library/golang:alpine@sha256:d171aa333fb386089206252503bc6ab545072670e0286e3d1bbc644362825c6e                                                                                                   31.9s
 => => resolve docker.io/library/golang:alpine@sha256:d171aa333fb386089206252503bc6ab545072670e0286e3d1bbc644362825c6e                                                                                                             0.0s
 => => sha256:c41ae7ad2b39813485dabd88ae2e5ddce71b71a47d19af1377b0251055edf373 284.75kB / 284.75kB                                                                                                                                 0.4s
 => => sha256:15b491bbc2fee14d5914da432332ef2992302d2895ae90466c778c259e643fe0 122.65MB / 122.65MB                                                                                                                                26.9s
 => => sha256:d171aa333fb386089206252503bc6ab545072670e0286e3d1bbc644362825c6e 1.65kB / 1.65kB                                                                                                                                     0.0s
 => => sha256:27a9653759f44afd08c94418307a26d2db9cf78af12933200bc2ca63c4844316 1.16kB / 1.16kB                                                                                                                                     0.0s
 => => sha256:d2745094e3b1859e11768218164d87cf80aa66c919355086af3a0c82a4dedf01 5.36kB / 5.36kB                                                                                                                                     0.0s
 => => sha256:ca7dd9ec2225f2385955c43b2379305acd51543c28cf1d4e94522b3d94cce3ce 2.81MB / 2.81MB                                                                                                                                     0.4s
 => => extracting sha256:ca7dd9ec2225f2385955c43b2379305acd51543c28cf1d4e94522b3d94cce3ce                                                                                                                                          0.1s
 => => sha256:8cce5c603bfa087147c080777ac9cfd91f8c48a1a9dd2a8f416be618ca0b672a 156B / 156B                                                                                                                                         0.6s
 => => extracting sha256:c41ae7ad2b39813485dabd88ae2e5ddce71b71a47d19af1377b0251055edf373                                                                                                                                          0.1s
 => => extracting sha256:15b491bbc2fee14d5914da432332ef2992302d2895ae90466c778c259e643fe0                                                                                                                                          4.7s
 => => extracting sha256:8cce5c603bfa087147c080777ac9cfd91f8c48a1a9dd2a8f416be618ca0b672a                                                                                                                                          0.0s
 => [frontend-kubeflow-lib 1/6] FROM docker.io/library/node:12@sha256:01627afeb110b3054ba4a1405541ca095c8bfca1cb6f2be9479c767a2711879e                                                                                            45.8s
 => => resolve docker.io/library/node:12@sha256:01627afeb110b3054ba4a1405541ca095c8bfca1cb6f2be9479c767a2711879e                                                                                                                   0.0s
 => => sha256:01627afeb110b3054ba4a1405541ca095c8bfca1cb6f2be9479c767a2711879e 776B / 776B                                                                                                                                         0.0s
 => => sha256:3a69ea1270dbf4ef20477361be4b7a43400e559c6abdfaf69d73f7c755f434f5 2.21kB / 2.21kB                                                                                                                                     0.0s
 => => sha256:6c8de432fc7f7d8c58899f61982d1662ec6b73fb3ef92f862ba170dcc5b64fa9 7.68kB / 7.68kB                                                                                                                                     0.0s
 => => sha256:f5196cdf25181bc7e4411865a2e002932b7b6b0ffce787c04c1bdeaf1f204f20 45.43MB / 45.43MB                                                                                                                                   9.8s
 => => sha256:9bed1e86f01ee95c76d2c8b4385a47ae336e6d293afade9368469d99daa9369f 11.30MB / 11.30MB                                                                                                                                  11.1s
 => => sha256:f44e4bdb3a6c1325cc4d40e585ed7a759127c0c87b0388ec0236b1698827d70d 4.34MB / 4.34MB                                                                                                                                    11.0s
 => => extracting sha256:f5196cdf25181bc7e4411865a2e002932b7b6b0ffce787c04c1bdeaf1f204f20                                                                                                                                          1.8s
 => => sha256:2f75d131f4060950dd6cc1f580e2fa5504ece8d692113a9cdb0a866637b397d7 49.77MB / 49.77MB                                                                                                                                  23.3s
 => => sha256:07dff4ad21ebdb3ce3e329699663b2f81af70152453025f6624584a39a8e22b6 214.48MB / 214.48MB                                                                                                                                38.8s
 => => extracting sha256:9bed1e86f01ee95c76d2c8b4385a47ae336e6d293afade9368469d99daa9369f                                                                                                                                          0.4s
 => => extracting sha256:f44e4bdb3a6c1325cc4d40e585ed7a759127c0c87b0388ec0236b1698827d70d                                                                                                                                          0.2s
 => => sha256:e0ac4f13b766d321acc3b650d3d23b82828995711f6f247ff591722c00d04cec 4.19kB / 4.19kB                                                                                                                                    23.5s
 => => extracting sha256:2f75d131f4060950dd6cc1f580e2fa5504ece8d692113a9cdb0a866637b397d7                                                                                                                                          2.2s
 => => sha256:df2c3b2eb7cc63351bb32f26457bbe0402af8082548f26975f0c329bc7841881 23.70MB / 23.70MB                                                                                                                                  28.2s
 => => sha256:efe636eac583776a8a114d50fef15bc65b648f3d2bb53326cf1f21cc5ef2b3ae 2.34MB / 2.34MB                                                                                                                                    27.5s
 => => sha256:fe17849545bb51455d3f7c8773ded2dbb1d6668a85bd00564573a4b88afd36f6 464B / 464B                                                                                                                                        27.7s
 => => extracting sha256:07dff4ad21ebdb3ce3e329699663b2f81af70152453025f6624584a39a8e22b6                                                                                                                                          5.6s
 => => extracting sha256:e0ac4f13b766d321acc3b650d3d23b82828995711f6f247ff591722c00d04cec                                                                                                                                          0.0s
 => => extracting sha256:df2c3b2eb7cc63351bb32f26457bbe0402af8082548f26975f0c329bc7841881                                                                                                                                          0.9s
 => => extracting sha256:efe636eac583776a8a114d50fef15bc65b648f3d2bb53326cf1f21cc5ef2b3ae                                                                                                                                          0.1s
 => => extracting sha256:fe17849545bb51455d3f7c8773ded2dbb1d6668a85bd00564573a4b88afd36f6                                                                                                                                          0.0s
 => [stage-4 1/4] FROM docker.io/library/alpine:3.15@sha256:cf34c62ee8eb3fe8aa24c1fab45d7e9d12768d945c3f5a6fd6a63d901e898479                                                                                                       0.0s
 => => resolve docker.io/library/alpine:3.15@sha256:cf34c62ee8eb3fe8aa24c1fab45d7e9d12768d945c3f5a6fd6a63d901e898479                                                                                                               0.0s
 => [auth] library/node:pull token for registry-1.docker.io                                                                                                                                                                        0.0s
 => [fetch-kubeflow-kubeflow 2/5] RUN apt-get update && apt-get install git -y                                                                                                                                                    89.1s
 => [go-build 2/8] WORKDIR /go/src/github.com/kubeflow/katib                                                                                                                                                                       0.8s
 => [go-build 3/8] COPY go.mod .                                                                                                                                                                                                   0.0s
 => [go-build 4/8] COPY go.sum .                                                                                                                                                                                                   0.0s
 => [go-build 5/8] RUN go mod download -x                                                                                                                                                                                        100.4s
 => [frontend-kubeflow-lib 2/6] WORKDIR /src                                                                                                                                                                                       0.4s
 => [frontend 3/7] COPY ./pkg/new-ui/v1beta1/frontend/package*.json ./                                                                                                                                                             0.0s
 => [frontend 4/7] RUN npm ci                                                                                                                                                                                                    155.8s
 => [fetch-kubeflow-kubeflow 3/5] WORKDIR /kf                                                                                                                                                                                      0.0s
 => [fetch-kubeflow-kubeflow 4/5] COPY ./pkg/new-ui/v1beta1/frontend/COMMIT ./                                                                                                                                                     0.0s
 => [fetch-kubeflow-kubeflow 5/5] RUN git clone https://github.com/kubeflow/kubeflow.git &&     COMMIT=$(cat ./COMMIT) &&     cd kubeflow &&     git checkout $COMMIT                                                             27.4s
 => [frontend-kubeflow-lib 3/6] COPY --from=fetch-kubeflow-kubeflow /kf/kubeflow/components/crud-web-apps/common/frontend/kubeflow-common-lib/package*.json ./                                                                     0.0s
 => [frontend-kubeflow-lib 4/6] RUN npm ci                                                                                                                                                                                       129.0s
 => [go-build 6/8] COPY cmd/ cmd/                                                                                                                                                                                                  0.0s
 => [go-build 7/8] COPY pkg/ pkg/                                                                                                                                                                                                  0.1s
 => [go-build 8/8] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o katib-ui  ./cmd/new-ui/v1beta1                                                                                                                       309.3s
 => [frontend 5/7] COPY ./pkg/new-ui/v1beta1/frontend/ .                                                                                                                                                                           0.1s
 => [frontend-kubeflow-lib 5/6] COPY --from=fetch-kubeflow-kubeflow /kf/kubeflow/components/crud-web-apps/common/frontend/kubeflow-common-lib/ ./                                                                                  0.1s
 => [frontend-kubeflow-lib 6/6] RUN npm run build                                                                                                                                                                                246.5s
 => CACHED [stage-4 2/4] WORKDIR /app                                                                                                                                                                                              0.0s
 => [stage-4 3/4] COPY --from=go-build /go/src/github.com/kubeflow/katib/katib-ui /app/                                                                                                                                            0.1s
 => [frontend 6/7] COPY --from=frontend-kubeflow-lib /src/dist/kubeflow/ ./node_modules/kubeflow/                                                                                                                                  0.1s
 => [frontend 7/7] RUN npm run build:prod                                                                                                                                                                                        593.8s
 => [stage-4 4/4] COPY --from=frontend /src/dist/static /app/build/static/                                                                                                                                                         0.0s
 => exporting to image                                                                                                                                                                                                             0.1s
 => => exporting layers                                                                                                                                                                                                            0.1s
 => => writing image sha256:fcadde6492a04552c3e40b7e3f7238287873184b66eba4cb291ab2c6268c38ed                                                                                                                                       0.0s
 => => naming to docker.io/foo/katib-ui:bar                                                                                                                                                                                        0.0s

@johnugeorge
Copy link
Member

@elenzio9 This works in CI without any issues. I tried locally as well.

@johnugeorge
Copy link
Member

@tenzen-y Should we do a tagged image of Golang for build?

FROM golang:alpine AS go-build

@tenzen-y
Copy link
Member

@tenzen-y Should we do a tagged image of Golang for build?

FROM golang:alpine AS go-build

@johnugeorge IMO, sounds good. However, since it increases the cost to maintain Dockerfiles, I'd like to hear what other leads have to say.

@andreyvelich @gaocegege wdyt?

@johnugeorge
Copy link
Member

johnugeorge commented Nov 18, 2022

Actually not necessary. I am wondering if this is the reason behind @elenzio9 error. May be prior docker images cached? I doubt, docker image that causes these error uses latest go 1.19

@tenzen-y
Copy link
Member

I also tried docker build . -f cmd/new-ui/v1beta1/Dockerfile -t ${IMG}:${TAG} --no-cache in case of having an older golang image cached but the error persists.

I believe that cache seems irrelevant since @ elenzio9 runs the build command with the --no-cache flag.

@kimwnasptd
Copy link
Member

kimwnasptd commented Nov 18, 2022

@tenzen-y @johnugeorge thank you very much for you help!

In the end we got to the bottom of it and it was indeed an issue with the cache and golang:alpine. The problem was that we had fetch the golang:alpine previously, when it didn't have Golang 1.19, and now when building the image it wouldn't re-pull it.

We also misunderstood how --no-cache works. This argument tells docker to not use a cached LAYER when building the image. But this will not affect the base images with FROM <image>. For this they have the --pull argument https://docs.docker.com/engine/reference/commandline/build/#options

So after using the following command we managed to build it successfully

docker build . -f cmd/new-ui/v1beta1/Dockerfile -t ${IMG}:${TAG} --pull

@johnugeorge
Copy link
Member

Thanks for updating @kimwnasptd

@tenzen-y
Copy link
Member

Thanks!

@tenzen-y
Copy link
Member

tenzen-y commented Jan 7, 2023

It seems to be resolved. If you face this again, feel free to reopen this issue.
/close

@google-oss-prow
Copy link

@tenzen-y: Closing this issue.

In response to this:

It seems to be resolved. If you face this again, feel free to reopen this issue.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants