opencspm icon indicating copy to clipboard operation
opencspm copied to clipboard

Docker compose error for complete setup

Open RenukaMane opened this issue 3 years ago • 0 comments

Describe the bug While trying to run the full environment locally on Windows, the following error regarding the vim package is occurring.

error:
=> ERROR [ 7/12] RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get -yq dist-upgrade && DEBIAN_FRONTEND=noninteractive 19.2s

OpenCSPM version 0.1.23

To Reproduce Steps to reproduce the behavior:

  1. Go to 'docker directory
  2. run "docker-compose -f docker-compose-development.yml up --build"

Screenshots

CSPM

Docker information (please complete the following information):

  • Output of full docker version (not docker -v)

  • Output of full docker-compose version (not docker-compose -v)

D:\OpenCSPM\opencspm-demo\opencspm\docker> docker-compose -f docker-compose-development.yml up [+] Running 0/4

  • core Error 6.0s
  • ui Error 6.0s
  • shell Error 6.0s
  • worker Error 5.0s [+] Building 23.8s (12/17) => [internal] load build definition from Dockerfile.development 0.0s => => transferring dockerfile: 44B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ruby:2.7.3-slim-buster 4.5s => [auth] library/ruby:pull token for registry-1.docker.io 0.0s => [internal] load build context 0.0s => => transferring context: 28B 0.0s => [ 1/12] FROM docker.io/library/ruby:2.7.3-slim-buster@sha256:360b27772b1a4a4b25395c5e2a8225ab70ea61a29c0fd62cd8705d6ab1417de4 0.0s => CACHED [ 2/12] RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends build-esse 0.0s => CACHED [ 3/12] RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && echo 'deb http://apt.postgresql 0.0s => CACHED [ 4/12] RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - 0.0s => CACHED [ 5/12] RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo 'deb http://dl.yarnpkg.com/debian/ st 0.0s => CACHED [ 6/12] COPY Aptfile /tmp/Aptfile 0.0s => ERROR [ 7/12] RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get -yq dist-upgrade && DEBIAN_FRONTEND=noninteractive 19.2s

[ 7/12] RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get -yq dist-upgrade && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends libpq-dev postgresql-client-13 nodejs yarn=1.22.5-1 $(cat /tmp/Aptfile | xargs) && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && truncate -s 0 /var/log/*log: #12 6.688 Reading package lists... #12 7.140 Building dependency tree... #12 7.243 Reading state information... #12 7.259 Calculating upgrade... #12 7.419 The following packages will be upgraded: #12 7.420 base-files debconf libssl-dev libssl1.1 libsystemd0 libudev1 linux-libc-dev #12 7.420 openssl tzdata #12 7.634 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. #12 7.634 Need to get 6624 kB of archives. #12 7.634 After this operation, 26.6 kB of additional disk space will be used. #12 7.634 Get:1 http://deb.debian.org/debian buster/main amd64 base-files amd64 10.3+deb10u11 [69.9 kB] #12 7.866 Get:2 http://deb.debian.org/debian buster/main amd64 debconf all 1.5.71+deb10u1 [145 kB] #12 7.987 Get:3 http://deb.debian.org/debian buster/main amd64 libsystemd0 amd64 241-7~deb10u8 [331 kB] #12 8.152 Get:4 http://deb.debian.org/debian buster/main amd64 libudev1 amd64 241-7~deb10u8 [151 kB] #12 8.254 Get:5 http://deb.debian.org/debian buster-updates/main amd64 tzdata all 2021a-0+deb10u3 [266 kB] #12 8.369 Get:6 http://deb.debian.org/debian buster/main amd64 libssl-dev amd64 1.1.1d-0+deb10u7 [1795 kB] #12 9.085 Get:7 http://deb.debian.org/debian buster/main amd64 libssl1.1 amd64 1.1.1d-0+deb10u7 [1539 kB] #12 9.640 Get:8 http://deb.debian.org/debian buster/main amd64 linux-libc-dev amd64 4.19.208-1 [1482 kB] #12 10.24 Get:9 http://deb.debian.org/debian buster/main amd64 openssl amd64 1.1.1d-0+deb10u7 [845 kB] #12 10.67 debconf: delaying package configuration, since apt-utils is not installed #12 10.69 Fetched 6624 kB in 3s (2129 kB/s) (Reading database ... 14668 files and directories currently installed.) #12 10.76 Preparing to unpack .../base-files_10.3+deb10u11_amd64.deb ... #12 10.78 Unpacking base-files (10.3+deb10u11) over (10.3+deb10u10) ... #12 10.90 Setting up base-files (10.3+deb10u11) ... #12 10.91 Installing new version of config file /etc/debian_version ... (Reading database ... 14668 files and directories currently installed.) #12 11.06 Preparing to unpack .../debconf_1.5.71+deb10u1_all.deb ... #12 11.08 Unpacking debconf (1.5.71+deb10u1) over (1.5.71) ... #12 11.50 Setting up debconf (1.5.71+deb10u1) ... (Reading database ... 14668 files and directories currently installed.) #12 11.65 Preparing to unpack .../libsystemd0_241-7~deb10u8_amd64.deb ... #12 11.67 Unpacking libsystemd0:amd64 (241-7~deb10u8) over (241-7~deb10u7) ... #12 11.74 Setting up libsystemd0:amd64 (241-7~deb10u8) ... (Reading database ... 14668 files and directories currently installed.) #12 11.79 Preparing to unpack .../libudev1_241-7~deb10u8_amd64.deb ... #12 11.81 Unpacking libudev1:amd64 (241-7~deb10u8) over (241-7~deb10u7) ... #12 11.86 Setting up libudev1:amd64 (241-7~deb10u8) ... (Reading database ... 14668 files and directories currently installed.) #12 11.92 Preparing to unpack .../tzdata_2021a-0+deb10u3_all.deb ... #12 11.94 Unpacking tzdata (2021a-0+deb10u3) over (2021a-0+deb10u1) ... #12 14.48 Preparing to unpack .../libssl-dev_1.1.1d-0+deb10u7_amd64.deb ... #12 14.49 Unpacking libssl-dev:amd64 (1.1.1d-0+deb10u7) over (1.1.1d-0+deb10u6) ... #12 15.06 Preparing to unpack .../libssl1.1_1.1.1d-0+deb10u7_amd64.deb ... #12 15.07 Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u7) over (1.1.1d-0+deb10u6) ... #12 15.29 Preparing to unpack .../linux-libc-dev_4.19.208-1_amd64.deb ... #12 15.30 Unpacking linux-libc-dev:amd64 (4.19.208-1) over (4.19.194-2) ... #12 18.03 Preparing to unpack .../openssl_1.1.1d-0+deb10u7_amd64.deb ... #12 18.05 Unpacking openssl (1.1.1d-0+deb10u7) over (1.1.1d-0+deb10u6) ... #12 18.16 Setting up libssl1.1:amd64 (1.1.1d-0+deb10u7) ... #12 18.23 Setting up linux-libc-dev:amd64 (4.19.208-1) ... #12 18.25 Setting up tzdata (2021a-0+deb10u3) ... #12 18.32 #12 18.32 Current default time zone: 'Etc/UTC' #12 18.32 Local time is now: Thu Dec 30 09:11:53 UTC 2021. #12 18.32 Universal Time is now: Thu Dec 30 09:11:53 UTC 2021. #12 18.32 Run 'dpkg-reconfigure tzdata' if you wish to change it. #12 18.32 #12 18.35 Setting up libssl-dev:amd64 (1.1.1d-0+deb10u7) ... #12 18.36 Setting up openssl (1.1.1d-0+deb10u7) ... #12 18.38 Processing triggers for libc-bin (2.28-10) ... #12 18.48 Reading package lists... #12 18.97 Building dependency tree... #12 19.07 Reading state information... #12 19.13 E: Unable to locate package vim

Cloud provider (if applicable):

  • e.g. AWS/GCP/Azure

Additional context Add any other context about the problem here.

RenukaMane avatar Dec 30 '21 09:12 RenukaMane