Closed Kreyren closed 3 years ago
What does it look like when built in the console, I'd like to have a reference before I can reproduce.
Hmmm, according to your logs your YAML syntax is wrong. It could be that Gitpod is ignoring your configuration because your syntax is broken.
What does it look like when built in the console, I'd like to have a reference before I can reproduce. @sr229
Sorry didn't get a notification about your reply. I currently don't have an environment to test this, but i will test it asap.
Hmmm, according to your logs your YAML syntax is wrong. It could be that Gitpod is ignoring your configuration because your syntax is broken. @JesterOrNot
Elaborate on the syntax err? Looks good to me and i ain't getting any logs O.o .. just skips to gitpod environment
@sr229 Results in:
kreyren@leonid:~/Repositories/gitpod-test-zernit-scratch-devuan$ sudo docker build --file gitpod/dockerimages/devuan/devuan.Dockerfile .
Sending build context to Docker daemon 167.5MB
Step 1/14 : FROM scratch
--->
Step 2/14 : LABEL MAINTAINER="RXT0112 (Zernit)"
---> Running in 4cad596fd9ed
Removing intermediate container 4cad596fd9ed
---> d6ead92b834e
Step 3/14 : LABEL DESCRIPTION="Designed for zernit development to be used in theia frontend"
---> Running in 8da01740cf3b
Removing intermediate container 8da01740cf3b
---> e1f53de837cb
Step 4/14 : ADD gitpod/dockerimages/devuan/fsh /
ADD failed: stat /var/lib/docker/tmp/docker-builder625737653/gitpod/dockerimages/devuan/fsh: no such file or directory
investigating..
UPDATE 1:
Now getting:
kreyren@leonid:~/Repositories/gitpod-test-zernit-scratch-devuan$ sudo docker build --no-cache --file gitpod/dockerimages/devuan/devuan.Dockerfile .
Sending build context to Docker daemon 167.5MB
Step 1/14 : FROM scratch
--->
Step 2/14 : LABEL MAINTAINER="RXT0112 (Zernit)"
---> Running in faebca37fb3b
Removing intermediate container faebca37fb3b
---> e0ca6662423a
Step 3/14 : LABEL DESCRIPTION="Designed for zernit development to be used in theia frontend"
---> Running in beb1de5e0de1
Removing intermediate container beb1de5e0de1
---> b9e9e04896ab
Step 4/14 : ADD gitpod/dockerimages/devuan/fsh.tar.xz /
---> 023049ca202f
Step 5/14 : ENV DEBIAN_FRONTEND=noninteractive
---> Running in 4ca5c7e07c81
Removing intermediate container 4ca5c7e07c81
---> de694cf4b582
Step 6/14 : USER root
---> Running in 1217bc795977
Removing intermediate container 1217bc795977
---> c8a23cb4a651
Step 7/14 : ENV LANG="en_US.UTF-8"
---> Running in 7d93d1fb210f
Removing intermediate container 7d93d1fb210f
---> 30e6b0df8fc7
Step 8/14 : ENV LC_ALL="C"
---> Running in 6f4c6c1128c8
Removing intermediate container 6f4c6c1128c8
---> 4a8a100b186a
Step 9/14 : COPY gitpod/dockerimages/devuan/devuan-keyring_2017.10.03_all.deb /var/tmp/devuan-keyring_2017.10.03_all.deb
---> e66b42a8d10d
Step 10/14 : RUN true && apt-get install -y ./var/tmp/devuan-keyring_2017.10.03_all.deb && rm /var/tmp/devuan-keyring_2017.10.03_all.deb
---> Running in 597c219d5243
unable to find user root: no matching entries in passwd file
No idea what is it caused by, but i am currently out of timeframes to investigate this, will check when i have time.
Looks like it's trying to call a command as root so it fails but I don't think in any circumstances it should fail like that. Might be a Kube-specific issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
I've made from scratch docker environment for my repository that on gitpod just get replaced with default dockerfile
Steps to reproduce