ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref f753c1c0-f1ae-4e19-89b5-ecfb01151aca::n2namopijuykv7dpylxif1h4j: "/src": not foundexit status 1
2025. 3. 28. 23:58ㆍk8s
Dockerfile
COPY --chown=docker:docker ./src /app
build.sh
docker buildx build -t {domain}/{image}:{tag} .
docker push {domain}/{image}:{tag}
directory 구조
/docker
build.sh
Dockerfile
/src
조치: build.sh 변경
docker buildx build -t {domain}/{image}:{tag} -f Dockerfile ../
docker push {domain}/{image}:{tag}
'k8s' 카테고리의 다른 글
pod 이름 변수값으로 설정하기 (0) | 2025.03.29 |
---|---|
registry traces export: Post "https://localhost:4318/v1/traces": dial tcp [::1]:4318: connect: connection refused (0) | 2025.03.29 |
LoadBalancer IP 지정 (0) | 2025.03.14 |
imagePullPolicy: Always or IfNotPresent (0) | 2025.03.09 |
kubectl pod 찾기 (0) | 2025.03.09 |