i
hi
c
Hi David I am getting this error
Copy code
docker build -f .docker/Dockerfile-build -t oryd/kratos:latest .
Sending build context to Docker daemon  67.37MB
Step 1/26 : FROM golang:1.19-alpine3.16 AS base
 ---> 6e31dcd72d8f
Step 2/26 : RUN apk --update upgrade && apk --no-cache --update-cache --upgrade --latest add ca-certificates build-base gcc
 ---> Using cache
 ---> 132c44614ae4
Step 3/26 : WORKDIR /go/src/github.com/ory/kratos
 ---> Using cache
 ---> 2b8093bc2edd
Step 4/26 : ADD go.mod go.mod
 ---> Using cache
 ---> c699d0e02065
Step 5/26 : ADD go.sum go.sum
 ---> Using cache
 ---> 045bb9f58994
Step 6/26 : ADD internal/httpclient/go.* internal/httpclient/
ADD failed: no source files were specified
make: *** [Makefile:144: quickstart-dev] Error 1
i
🤔
You can comment the 10th line from the Dockerfile and retry
c
Replacing Step 6 with
Copy code
ADD internal/ internal/
Seems to work
👍 1