Score:0

How can we remove Google cloud builder cache. I am trying to build an image but it gives an error from a previous build attempt

th flag

This is the error it gives but the thing is I corrected the "MKDIR" command to mkdir but the error didn't go away, there is no MKDIR command in my Dockerfile anymore but the error stays the same. I deleted the repositories and even the project, changed directory too. Kindly guide me.

Operation completed over 1 objects/38.7 MiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  100.9MB
Error response from daemon: dockerfile parse error line 4: unknown instruction: MKDIR
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
kr flag
You probably want to begin the line with RUN
Sardar Arslan avatar
th flag
Which line? I successfully built an image before with the same method. It worked then
Sardar Arslan avatar
th flag
Isn't there a command equivalent to docker builder prune in gcloud?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.