conductor icon indicating copy to clipboard operation
conductor copied to clipboard

Docker build fails when Dockerfile for ServerAndUI is used

Open kyandaks opened this issue 1 year ago • 0 comments

Describe the bug This is the section in the ServerAndUI dockerfile:

# Install Node
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
  && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
  && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
  && apt-get update -qq \
  && apt-get install -qq --no-install-recommends \
    build-essential \
    nodejs \
    yarn \
  && apt-get upgrade -qq \
  && rm -rf /var/lib/apt/lists/*

While using Github actions for builds, we experience this error:

ERROR: failed to solve: process "/bin/bash -o pipefail -c curl -sL https://deb.nodesource.com/setup_current.x | bash -   && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -   && echo \"deb https://dl.yarnpkg.com/debian/ stable main\" | tee /etc/apt/sources.list.d/yarn.list   && apt-get update -qq   && apt-get install -qq --no-install-recommends     build-essential     nodejs     yarn   && apt-get upgrade -qq   && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1
Error: Process completed with exit code 1

Details Conductor version: v3.14.0 Persistence implementation: Cassandra, Postgres, MySQL, Dynomite etc Queue implementation: Postgres, MySQL, Dynoqueues etc Lock: Redis or Zookeeper? Workflow definition: Task definition: Event handler definition:

kyandaks avatar Sep 28 '23 08:09 kyandaks