Skip to content

Docker build fails from source #203

Closed

Description

@nidstirr

Describe the bug
Docker build fails from source. There's some discrepancies between the project and the current Dockerfile.
Note: I notice the Docker documentation is out of date.

To Reproduce
Clone the repo, and start the compose as instructed in the docs.

Expected behavior
Image builds successfully and container starts.

Desktop (please complete the following information):

  • OS: Debian 13 Trixie
  • Using docker: yes
  • Version: N/A

Additional context
There's three steps I've done to make the container start successfully.

  1. The Dockerfile installs dotnet6-sdk via apk, but the project targets net10.0 (.NET 6 is EOL #112 ), so it fails immediately with NETSDK1045. To fix it I used mcr.microsoft.com/dotnet/sdk:10.0-alpine as the build stage base instead of apk add dotnet6-sdk.

  2. After fixing the SDK, publish failed while generating docs/openapi.json. Adding -p:OpenApiGenerateDocumentsOnBuild=false to the dotnet publish command skips that step and lets the build continue.

  3. Publish then failed with NETSDK1004 because Sockseek.HelpGenerator's assets file wasn't found. Running dotnet restore on the full solution before the publish step fixed it.

With all three changes the build completes and the container runs fine.

Activity

  1. added
    bug
    on Aug 16, 2026
  2. added
    documentation
    help wanted (Docker)
    and removed
    bug
    on Aug 16, 2026
  3. added a commit that references this issue on Sep 24, 2026
  4. added a commit that references this issue on Sep 24, 2026
    2e1fbb3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationhelp wanted (Docker)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions