Skip to content

Problem with docker-compose setup #273

@henres

Description

@henres

Hello,
Firstly, thanks for your work ! :)

I tried to deploy the project with docker-compose this morning.
I got these errors
Do I forgot something ?

Thanks

❯ git clone -b v0.13.1 https://github.com/chriswritescode-dev/opencode-manager.git && cd opencode-manager/
❯ cp .env.example .env
❯ echo "AUTH_SECRET=$(openssl rand -base64 32)" >> .env
❯ docker compose up -d
[+] Building 9.3s (17/35)                                                                                                                                                     
 => [internal] load local bake definitions                                                                                                                               0.0s
 => => reading from stdin 670B                                                                                                                                           0.0s
 => [internal] load build definition from Dockerfile                                                                                                                     0.0s
 => => transferring dockerfile: 3.87kB                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/node:24.13.0                                                                                                          1.0s
 => [internal] load .dockerignore                                                                                                                                        0.0s
 => => transferring context: 310B                                                                                                                                        0.0s
 => [internal] load build context                                                                                                                                        0.1s
 => => transferring context: 5.14MB                                                                                                                                      0.1s
 => [base 1/6] FROM docker.io/library/node:24.13.0@sha256:1de022d8459f896fff2e7b865823699dc7a8d5567507e8b87b14a7442e07f206                                               0.0s
 => CACHED [base 2/6] RUN apt-get update && apt-get install -y     git     curl     lsof     ripgrep     ca-certificates     grep     gawk     sed     findutils     co  0.0s
 => CACHED [base 3/6] RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg   && echo   0.0s
 => CACHED [base 4/6] RUN corepack enable && corepack prepare pnpm@latest --activate                                                                                     0.0s
 => CACHED [base 5/6] RUN curl -fsSL https://bun.sh/install | bash &&     mv /root/.bun /opt/bun &&     chmod -R 755 /opt/bun &&     ln -s /opt/bun/bin/bun /usr/local/  0.0s
 => CACHED [base 6/6] WORKDIR /app                                                                                                                                       0.0s
 => ERROR [runner  1/12] RUN echo "Installing uv=latest opencode=latest (cachebust=0)" &&     curl -LsSf https://astral.sh/uv/install.sh | UV_NO_MODIFY_PATH=1 sh &&     6.4s
 => CACHED [deps 1/5] COPY --chown=node:node package.json pnpm-workspace.yaml pnpm-lock.yaml ./                                                                          0.0s
 => CACHED [deps 2/5] COPY --chown=node:node shared/package.json ./shared/                                                                                               0.0s
 => CACHED [deps 3/5] COPY --chown=node:node backend/package.json ./backend/                                                                                             0.0s
 => CACHED [deps 4/5] COPY --chown=node:node frontend/package.json ./frontend/                                                                                           0.0s
 => CANCELED [deps 5/5] RUN pnpm install --frozen-lockfile                                                                                                               8.1s
------                                                                                                                                                                        
 > [runner  1/12] RUN echo "Installing uv=latest opencode=latest (cachebust=0)" &&     curl -LsSf https://astral.sh/uv/install.sh | UV_NO_MODIFY_PATH=1 sh &&     mv /root/.local/bin/uv /usr/local/bin/uv &&     mv /root/.local/bin/uvx /usr/local/bin/uvx &&     chmod +x /usr/local/bin/uv /usr/local/bin/uvx &&     if [ "latest" = "latest" ]; then         curl -fsSL https://opencode.ai/install | bash -s -- --no-modify-path;     else         curl -fsSL https://opencode.ai/install | bash -s -- --version latest --no-modify-path;     fi &&     mv /root/.opencode /opt/opencode &&     chmod -R 755 /opt/opencode &&     ln -s /opt/opencode/bin/opencode /usr/local/bin/opencode:                       
0.168 Installing uv=latest opencode=latest (cachebust=0)                                                                                                                      
0.497 downloading uv 0.11.20 x86_64-unknown-linux-gnu                                                                                                                         
5.158 installing to /root/.local/bin                                                                                                                                          
5.199   uv                                                                                                                                                                    
5.200   uvx                                                                                                                                                                   
5.203 everything's installed!                                                                                                                                                 
6.054 Failed to fetch version information                                                                                                                                     
------
[+] up 0/1
 ⠙ Image opencode-manager-app Building                                                                                                                                    9.4s
Dockerfile:66

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

  65 |     

  66 | >>> RUN echo "Installing uv=${UV_VERSION} opencode=${OPENCODE_VERSION} (cachebust=${TOOLS_CACHEBUST})" && \

  67 | >>>     curl -LsSf https://astral.sh/uv/install.sh | UV_NO_MODIFY_PATH=1 sh && \

  68 | >>>     mv /root/.local/bin/uv /usr/local/bin/uv && \

  69 | >>>     mv /root/.local/bin/uvx /usr/local/bin/uvx && \

  70 | >>>     chmod +x /usr/local/bin/uv /usr/local/bin/uvx && \

  71 | >>>     if [ "${OPENCODE_VERSION}" = "latest" ]; then \

  72 | >>>         curl -fsSL https://opencode.ai/install | bash -s -- --no-modify-path; \

  73 | >>>     else \

  74 | >>>         curl -fsSL https://opencode.ai/install | bash -s -- --version ${OPENCODE_VERSION} --no-modify-path; \

  75 | >>>     fi && \

  76 | >>>     mv /root/.opencode /opt/opencode && \

  77 | >>>     chmod -R 755 /opt/opencode && \

  78 | >>>     ln -s /opt/opencode/bin/opencode /usr/local/bin/opencode

  79 |     

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

failed to solve: process "/bin/sh -c echo \"Installing uv=${UV_VERSION} opencode=${OPENCODE_VERSION} (cachebust=${TOOLS_CACHEBUST})\" &&     curl -LsSf https://astral.sh/uv/install.sh | UV_NO_MODIFY_PATH=1 sh &&     mv /root/.local/bin/uv /usr/local/bin/uv &&     mv /root/.local/bin/uvx /usr/local/bin/uvx &&     chmod +x /usr/local/bin/uv /usr/local/bin/uvx &&     if [ \"${OPENCODE_VERSION}\" = \"latest\" ]; then         curl -fsSL https://opencode.ai/install | bash -s -- --no-modify-path;     else         curl -fsSL https://opencode.ai/install | bash -s -- --version ${OPENCODE_VERSION} --no-modify-path;     fi &&     mv /root/.opencode /opt/opencode &&     chmod -R 755 /opt/opencode &&     ln -s /opt/opencode/bin/opencode /usr/local/bin/opencode" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions