archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: dev environment "make build" command fails #1684

Closed djjuhasz closed 5 months ago

djjuhasz commented 5 months ago

I'm following the instructions from Archivematica development on Docker Compose, but the make build step fails with an error.

Expected behaviour

make build should build the development Docker images.

Current behaviour

make build errors with the following message:

❯ make build
docker compose build
[+] Building 0.1s (3/3) FINISHED                                                                    docker:default
 => [archivematica-storage-service internal] load build definition from Dockerfile                            0.0s
 => => transferring dockerfile: 2B                                                                            0.0s
 => [archivematica-mcp-server internal] load build definition from Dockerfile                                 0.0s
 => => transferring dockerfile: 7.25kB                                                                        0.0s
 => CANCELED [archivematica-mcp-server internal] load metadata for docker.io/library/ubuntu:22.04             0.0s
failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
make: *** [Makefile:90: build] Error 17

Steps to reproduce

  1. Follow the instructions at https://github.com/artefactual/archivematica/tree/qa/1.x/hack up to the make build step

Your environment (version of Archivematica, operating system, other relevant details)

Archivematica version: stable/1.15.x 2c03a79e (Github clone) Operating System: Ubuntu 22.04 LTS (kernel: 5.15.0-105-generic) Docker version 26.1.1, build 4cf5afa Docker Compose version v2.27.0


For Artefactual use:

Before you close this issue, you must check off the following:

djjuhasz commented 5 months ago

Oops, my fault - I forgot to update the submodules. After doing git submodule update --init --recursive, make build worked fine.