You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
Start the docker compose process as described in the docs.
cd docker
docker-compose up --build
Generates the following output and error.
$ docker-compose up --build
Building mobile_api
Step 1/23 : FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS builder
---> 656495ef4e20
Step 2/23 : COPY . app/
---> Using cache
---> c642901eb776
Step 3/23 : WORKDIR app/
---> Using cache
---> 1ace1d52bf4c
Step 4/23 : COPY docker/development/appsettings.json .
---> Using cache
---> 88648b988891
Step 5/23 : RUN rm Components/Framework/WindowsIdentityStuff.cs
---> Running in d0d719382673
rm: can't remove 'Components/Framework/WindowsIdentityStuff.cs': No such file or directory
ERROR: Service 'mobile_api' failed to build: The command '/bin/sh -c rm Components/Framework/WindowsIdentityStuff.cs' returned a non-zero code: 1
Fixing this error generates further output leading to another error:
MSBUILD : error MSB1009: Project file does not exist.
Switch: DbFillExampleContent/DbFillExampleContent.csproj
ERROR: Service 'mobile_api' failed to build: The command '/bin/sh -c dotnet publish DbFillExampleContent/DbFillExampleContent.csproj --no-self-contained --configuration Release -o publish/Tools/DbFillExampleContent --version-suffix local' returned a non-zero code: 1
Expected behavior
The docker containers are successfully brought up.
Screenshots
n/a, see console output above
Additional context
I'll shortly submit a simple PR to address the issues.
@llewelld a belated thanks for opening this issue back in 2020 🙌 and sincere apologies that we haven't responded to this pull request all this time 😅
The Docker setup within the project has changed since your reporting of this issue, and should now work without issue on Windows, Linux and macOS (excepting macOS M1, which has specific work-around instructions in the README).
If the changes to the project solve your original issue, feel free to close this issue and the corresponding pull request 🙂
Describe the bug, issue or concern
Currently
docker-compose up --build
fails on a clean clone due to a couple of errors in the Docker file.This is running on Ubuntu 20.04.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The docker containers are successfully brought up.
Screenshots
n/a, see console output above
Additional context
I'll shortly submit a simple PR to address the issues.
Governance
The text was updated successfully, but these errors were encountered: