Prebuild failing without stating reason

Prebuild is failing everytime for somereason. Initialization of docker container is working fine (as logs says) but it fails while adding gitpod layer.

.gitpod.yml

image:
  file: .gitpod.Dockerfile

github:
  prebuilds:
    master: true
    branches: true
    pullRequests: true
    pullRequestsFromForks: true
    addCheck: true
    addComment: false
    addBadge: true

tasks:
  - name: Website
    command: >
      gp sync-await install &&
      yarn workspace website dev
    openMode: tab-after
  - name: Server
    command: >
      gp sync-await install &&
      yarn workspace server dev
    openMode: tab-after
  - name: Git
    init: >
      yarn install &&
      gp sync-done install
    command: >
      [[ ! -z $EXATORIAL_ENV &&  ! -f .env ]] && echo $EXATORIAL_ENV | base64 -d > .env &&
      zsh
    openMode: tab-after

vscode:
  extensions:
    - coenraads.bracket-pair-colorizer
    - pkief.material-icon-theme
    - usernamehw.errorlens
    - bradlc.vscode-tailwindcss
    - graphql.vscode-graphql

ports:
  - port: 4000
    onOpen: ignore
    visibility: public
  - port: 3000
    onOpen: open-browser
    visibility: public

.gitpod.Dockerfile

FROM gitpod/workspace-full
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.1/zsh-in-docker.sh)" -- \
    -t https://github.com/denysdovhan/spaceship-prompt \
    -p git \
    -p https://github.com/zsh-users/zsh-syntax-highlighting
# RUN npm -g install expo-cli@^4.12.0 @expo/ngrok@^4.1.0
RUN npm -g install @digitak/esrun

Logs

Preparing to unpack .../libcurl4_7.68.0-1ubuntu2.7_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.7) over (7.68.0-1ubuntu2.4) ...
Preparing to unpack .../git_1%3a2.33.1-0ppa1~ubuntu20.04.1_amd64.deb ...
Unpacking git (1:2.33.1-0ppa1~ubuntu20.04.1) over (1:2.30.1-1~ppa0~ubuntu20.04.1) ...
Preparing to unpack .../git-man_1%3a2.33.1-0ppa1~ubuntu20.04.1_all.deb ...
Unpacking git-man (1:2.33.1-0ppa1~ubuntu20.04.1) over (1:2.30.1-1~ppa0~ubuntu20.04.1) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.7) ...
Setting up git-man (1:2.33.1-0ppa1~ubuntu20.04.1) ...
Setting up curl (7.68.0-1ubuntu2.7) ...
Setting up libcurl4-openssl-dev:amd64 (7.68.0-1ubuntu2.7) ...
Setting up git (1:2.33.1-0ppa1~ubuntu20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  locales-all
0 upgraded, 1 newly installed, 0 to remove and 132 not upgraded.
Need to get 10.6 MB of archives.
After this operation, 227 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 locales-all amd64 2.31-0ubuntu9.2 [10.6 MB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.6 MB in 2s (6,026 kB/s)
Selecting previously unselected package locales-all.
(Reading database ... 35368 files and directories currently installed.)
Preparing to unpack .../locales-all_2.31-0ubuntu9.2_amd64.deb ...
Unpacking locales-all (2.31-0ubuntu9.2) ...
Setting up locales-all (2.31-0ubuntu9.2) ...
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13257  100 13257    0     0  67294      0 --:--:-- --:--:-- --:--:-- 67294
Cloning Oh My Zsh...
Cloning into '/home/gitpod/.oh-my-zsh'...

Looking for an existing zsh config...
Found ~/.zshrc. Backing up to /home/gitpod/.zshrc.pre-oh-my-zsh
Using the Oh My Zsh template file and adding it to ~/.zshrc.

         __                                     __   
  ____  / /_     ____ ___  __  __   ____  _____/ /_  
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                        /____/                       ....is now installed!


Before you scream Oh My Zsh! look over the `.zshrc` file to select plugins, themes, and options.

• Follow us on Twitter: https://twitter.com/ohmyzsh
• Join our Discord community: https://discord.gg/ohmyzsh
• Get stickers, t-shirts, coffee mugs and more: https://shop.planetargon.com/collections/oh-my-zsh

Run zsh to try it out.
Cloning into '/home/gitpod/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting'...
Cloning into '/home/gitpod/.oh-my-zsh/custom/themes/spaceship-prompt'...
 ---> c70fa7d28dbc
Step 3/4 : RUN npm -g install @digitak/esrun
 ---> Running in 5f4dd051958f

added 17 packages, and audited 18 packages in 6s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice 
npm notice New patch version of npm available! 8.1.0 -> 8.1.3
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.1.3>
npm notice Run `npm install -g npm@8.1.3` to update!
npm notice 
 ---> 9cba35a6defd
Step 4/4 : LABEL gitpod.io/image-builder/temporary=true
 ---> Running in e64beb96a574
 ---> 4efa6d454d98
Successfully built 4efa6d454d98
Successfully tagged :c6a27910428b79a3baf3fc158d9639022b5fd207ec04c4885f378b39a375b2a6

pushing base image
The push refers to repository []
92a4187da6f8: Preparing
b33897c356e4: Preparing
227c51864e1e: Preparing
d9a3f4694500: Preparing
bbc8dc4509be: Preparing
595c0d25a211: Preparing
a40f4f3260d2: Preparing
108d5b5e494a: Preparing
e159eadcadfc: Preparing
ea85c785fcca: Preparing
23af8ef258a8: Preparing
bf4015a2aa6d: Preparing
2ba50548233b: Preparing
e5b5d4ff359f: Preparing
e62bb5faa514: Preparing
af223a19ebc0: Preparing
0a334c6c7736: Preparing
66b1865833d0: Preparing
4f4e8dbdf9d3: Preparing
36bd733acde6: Preparing
822a17b7c7b6: Preparing
eb53e641974f: Preparing
915412220753: Preparing
12c44244732c: Preparing
8a2972168284: Preparing
10fa1291a081: Preparing
0c9efeb577a7: Preparing
825acc6fdece: Preparing
1f2b1d25049a: Preparing
90fee9956e12: Preparing
a870d3385100: Preparing
d0e224d38333: Preparing
c2172688b51f: Preparing
3f4e19c543e5: Preparing
67b5da6ce050: Preparing
a59c880bdb29: Preparing
64814e00c915: Preparing
f8d7e21dfa2e: Preparing
5ce2b8979ddb: Preparing
c20d459170d8: Preparing
db978cae6a05: Preparing
aeb3f02e9374: Preparing
12c44244732c: Waiting
595c0d25a211: Waiting
8a2972168284: Waiting
10fa1291a081: Waiting
0c9efeb577a7: Waiting
825acc6fdece: Waiting
1f2b1d25049a: Waiting
90fee9956e12: Waiting
a870d3385100: Waiting
a40f4f3260d2: Waiting
108d5b5e494a: Waiting
d0e224d38333: Waiting
c2172688b51f: Waiting
e62bb5faa514: Waiting
3f4e19c543e5: Waiting
af223a19ebc0: Waiting
67b5da6ce050: Waiting
0a334c6c7736: Waiting
66b1865833d0: Waiting
a59c880bdb29: Waiting
4f4e8dbdf9d3: Waiting
64814e00c915: Waiting
36bd733acde6: Waiting
822a17b7c7b6: Waiting
f8d7e21dfa2e: Waiting
eb53e641974f: Waiting
5ce2b8979ddb: Waiting
915412220753: Waiting
c20d459170d8: Waiting
db978cae6a05: Waiting
aeb3f02e9374: Waiting
e159eadcadfc: Waiting
ea85c785fcca: Waiting
23af8ef258a8: Waiting
bf4015a2aa6d: Waiting
e5b5d4ff359f: Waiting
2ba50548233b: Waiting
bbc8dc4509be: Layer already exists
227c51864e1e: Layer already exists
d9a3f4694500: Layer already exists
595c0d25a211: Layer already exists
108d5b5e494a: Layer already exists
a40f4f3260d2: Layer already exists
23af8ef258a8: Layer already exists
e159eadcadfc: Layer already exists
ea85c785fcca: Layer already exists
bf4015a2aa6d: Layer already exists
2ba50548233b: Layer already exists
e5b5d4ff359f: Layer already exists
e62bb5faa514: Layer already exists
af223a19ebc0: Layer already exists
0a334c6c7736: Layer already exists
66b1865833d0: Layer already exists
36bd733acde6: Layer already exists
4f4e8dbdf9d3: Layer already exists
eb53e641974f: Layer already exists
915412220753: Layer already exists
822a17b7c7b6: Layer already exists
8a2972168284: Layer already exists
12c44244732c: Layer already exists
10fa1291a081: Layer already exists
825acc6fdece: Layer already exists
1f2b1d25049a: Layer already exists
0c9efeb577a7: Layer already exists
90fee9956e12: Layer already exists
a870d3385100: Layer already exists
d0e224d38333: Layer already exists
3f4e19c543e5: Layer already exists
c2172688b51f: Layer already exists
67b5da6ce050: Layer already exists
64814e00c915: Layer already exists
a59c880bdb29: Layer already exists
f8d7e21dfa2e: Layer already exists
c20d459170d8: Layer already exists
db978cae6a05: Layer already exists
5ce2b8979ddb: Layer already exists
aeb3f02e9374: Layer already exists
92a4187da6f8: Pushed
b33897c356e4: Pushed
c6a27910428b79a3baf3fc158d9639022b5fd207ec04c4885f378b39a375b2a6: digest: sha256:8d52ba7a585df7208051ddbf997983fb464d31690cd4c141b862f1dfbf713ed4 size: 9159
adding Gitpod layer
...........
...........
.pushing workspace image
..........
...........
.......
cannot initialize workspace: cannot initialize workspace: exit status 1

See

1 Like