Skip to content

Error Running make docker #4448

@muya

Description

@muya

Preflight checklist

Ory Network Project

No response

Describe the bug

Hello.

We're unable to run make docker successfully on the latest version of the ory/kratos repo.

The last successful build is off 2ee96b7.

Reproducing the bug

  1. Check out the current latest master version of ory/kratos (revision d68736bed28e956e52a54fef5591bd4c88de6594)
  2. Run make docker

Expected

  • That a new ory/kratos docker image gets built

Actual

  • There is an error building: ERROR: failed to get build context oryx: stat ../../x: no such file or directory

Relevant log output

DOCKER_BUILDKIT=1 DOCKER_CONTENT_TRUST=1 docker build -f .docker/Dockerfile-build --build-context=oryx=../../x --build-arg=COMMIT=d68736bed28e956e52a54fef5591bd4c88de6594 --build-arg=BUILD_DATE=2025-07-10T15:16:05Z -t oryd/kratos:latest .
[+] Building 0.0s (0/0)                                                                                                                                                                                                                                                                                       
ERROR: failed to get build context oryx: stat ../../x: no such file or directory
make: *** [docker] Error 1

Relevant configuration

Version

Current master (d68736bed28e956e52a54fef5591bd4c88de6594)

On which operating system are you observing this issue?

macOS

In which environment are you deploying?

Docker

Additional Context

Building images based of commit 2ee96b7feeb911ec100fe1524be8a83216dc199c or earlier is successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions