Skip to content

make shell SERVICE=backend fails in develop #256

@christoph-maurer

Description

@christoph-maurer
christoph@de14278:~/Documents/building-envelope-data/bed_lokal/metabase_lokal/development$ make shell SERVICE=backend
docker compose run \
	--rm \
	backend \
	bash
[+]  15/1515/155
 ✔ Image rnwood/smtp4dev:v3.10               Pulled                                                                                                 27.3s
 ✔ Image postgres:13.23-trixie               Pulled                                                                                                  1.4s
 ✔ Network metabase_development_default      Created                                                                                                 0.5s
 ✔ Container metabase_development-database-1 Started                                                                                                 0.8s
 ✔ Container metabase_development-email-1    Started                                                                                                 0.8s
Image rnwood/smtp4dev:v3.10 Pulling 
Image postgres:13.23-trixie Pulling 
Image rnwood/smtp4dev:v3.10 Pulled 
Image postgres:13.23-trixie Pulled 
Image metabase_development-backend Building 
[+] Building 0.7s (9/25)                                                                                                                                 
 => [internal] load local bake definitions                                                                                                          0.0s
 => => reading from stdin 680B                                                                                                                      0.0s
 => [internal] load build definition from Dockerfile.development                                                                                    0.1s
 => => transferring dockerfile: 7.96kB                                                                                                              0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1.21                                                                        0.2s
 => CACHED docker-image://docker.io/docker/dockerfile:1.21@sha256:27f9262d43452075f3c410287a2c43f5ef1bf7ec2bb06e8c9eeb1b8d453087bc                  0.0s
 => [internal] load metadata for mcr.microsoft.com/dotnet/sdk:10.0-noble-amd64                                                                      0.0s
 => [internal] load .dockerignore                                                                                                                   0.0s
 => => transferring context: 302B                                                                                                                   0.0s
 => CACHED [ 1/18] FROM mcr.microsoft.com/dotnet/sdk:10.0-noble-amd64@sha256:6d7f69bc7bc9d4510ca255977b1f53ce52a79307e048a91450b2aecd63627cc3       0.0s
 => [internal] load build context                                                                                                                   0.0s
 => => transferring context: 244B                                                                                                                   0.0s
 => ERROR [ 2/18] RUN   if [ -z "$GROUP_ID" ]; then echo "required 'GROUP_ID'"; exit 1; fi &&   if [ -z "$USER_ID" ]; then echo "required 'USER_ID  0.1s
------
 > [ 2/18] RUN   if [ -z "$GROUP_ID" ]; then echo "required 'GROUP_ID'"; exit 1; fi &&   if [ -z "$USER_ID" ]; then echo "required 'USER_ID'"; exit 1; fi:
0.126 /bin/bash: line 1: GROUP_ID: unbound variable
------
Dockerfile.development:15

--------------------

  14 |     

  15 | >>> RUN \

  16 | >>>   if [ -z "$GROUP_ID" ]; then echo "required 'GROUP_ID'"; exit 1; fi && \

  17 | >>>   if [ -z "$USER_ID" ]; then echo "required 'USER_ID'"; exit 1; fi

  18 |     

--------------------

failed to solve: process "/bin/bash -o errexit -o nounset -o pipefail -c if [ -z \"$GROUP_ID\" ]; then echo \"required 'GROUP_ID'\"; exit 1; fi &&   if [ -z \"$USER_ID\" ]; then echo \"required 'USER_ID'\"; exit 1; fi" did not complete successfully: exit code: 1

make: *** [Makefile:150: run] Error 1

Metadata

Metadata

Labels

2601Issues for the end of project EQWIN-PISEFraunhofer Institute for Solar Energy Systems ISE

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions