Skip to content

Gitpod fails to compile image #12640

@msusanrbrown

Description

@msusanrbrown

Bug description

When I try to open my repo using Gitpod I get this error:

#6 [3/8] RUN pyenv update && pyenv install 3.10.5 && pyenv global 3.10.5
#6 0.192 Updating /home/gitpod/.pyenv...
#6 0.192 pyenv-update: /home/gitpod/.pyenv is not clean
#6 0.776 Updating /home/gitpod/.pyenv/plugins/pyenv-doctor...
#6 0.776 From https://github.com/pyenv/pyenv-doctor
#6 1.256  * branch            master     -> FETCH_HEAD
#6 1.275 Already up to date.
#6 1.276 Updating /home/gitpod/.pyenv/plugins/pyenv-installer...
#6 1.276 From https://github.com/pyenv/pyenv-installer
#6 1.662  * branch            master     -> FETCH_HEAD
#6 1.672 Already up to date.
#6 1.673 Updating /home/gitpod/.pyenv/plugins/pyenv-update...
#6 1.673 From https://github.com/pyenv/pyenv-update
#6 2.033  * branch            master     -> FETCH_HEAD
#6 2.044 Already up to date.
#6 2.045 Updating /home/gitpod/.pyenv/plugins/pyenv-virtualenv...
#6 2.045 From https://github.com/pyenv/pyenv-virtualenv
#6 2.473  * branch            master     -> FETCH_HEAD
#6 2.486 Already up to date.
#6 2.486 Updating /home/gitpod/.pyenv/plugins/pyenv-which-ext...
#6 2.486 From https://github.com/pyenv/pyenv-which-ext
#6 2.840  * branch            master     -> FETCH_HEAD
#6 2.854 Already up to date.
#6 ERROR: process "/bin/sh -c pyenv update && pyenv install 3.10.5 && pyenv global 3.10.5" did not complete successfully: exit code: 1
------
 > [3/8] RUN pyenv update && pyenv install 3.10.5 && pyenv global 3.10.5:
From https://github.com/pyenv/pyenv-which-ext
#6 2.840  * branch            master     -> FETCH_HEAD
#6 2.854 Already up to date.
------
.gitpod.Dockerfile:9
--------------------
   7 |         && sudo rm -rf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
   8 |     
   9 | >>> RUN pyenv update && pyenv install 3.10.5 && pyenv global 3.10.5
  10 |     RUN pip install pipenv yapf
  11 |     
--------------------
error: failed to solve: process "/bin/sh -c pyenv update && pyenv install 3.10.5 && pyenv global 3.10.5" did not complete successfully: exit code: 1
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","command":"build","error":"exit status 1","level":"error","message":"build failed","serviceContext":{"service":"bob","version":""},"severity":"ERROR","time":"2022-09-05T01:31:19Z"}
exit

headless task failed: exit status 1

image

image

Steps to reproduce

open gitpod url: https://gitpod.io/#https://github.com/msusanrbrown/apiv2/tree/master

Workspace affected

No response

Expected behavior

Docker image should be compiled

Example repository

https://github.com/msusanrbrown/apiv2/tree/master

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta: staleThis issue/PR is stale and will be closed soontype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions