Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

According to the Self-host document, I tried to build docker image and run the service, but failed. The following is stackTrace log #200

Closed
OneCodeMonkey opened this issue May 16, 2024 · 3 comments

Comments

@OneCodeMonkey
Copy link

OneCodeMonkey commented May 16, 2024

OS: Ubuntu 20.04

Command: make image shell I=admin

root@iZ2ze26qvbl162515e6l3fZ:/home/www/riju#  make image shell I=admin

docker build . -f docker/admin/Dockerfile -t riju:admin
[+] Building 109.0s (7/10)                                                                                  docker:default
 => [internal] load build definition from Dockerfile                                                                  0.0s
 => => transferring dockerfile: 368B                                                                                  0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                                                       1.5s
 => [internal] load .dockerignore                                                                                     0.0s
 => => transferring context: 213B                                                                                     0.0s
 => [1/6] FROM docker.io/library/ubuntu:22.04@sha256:a6d2b38300ce017add71440577d5b0a90460d0e57fd7aec21dd0d1b0761bbfb  0.0s
 => [internal] load build context                                                                                     0.0s
 => => transferring context: 228B                                                                                     0.0s
 => CACHED [2/6] COPY docker/admin/install.bash /tmp/                                                                 0.0s
 => ERROR [3/6] RUN /tmp/install.bash                                                                               107.4s
------
 > [3/6] RUN /tmp/install.bash:
0.231 /tmp/riju-work /
0.231 + mkdir /tmp/riju-work
0.231 + pushd /tmp/riju-work
0.231 + export DEBIAN_FRONTEND=noninteractive
0.231 + DEBIAN_FRONTEND=noninteractive
0.231 + apt-get update

====================================
..... many lines
====================================

------
Dockerfile:5
--------------------
   3 |
   4 |     COPY docker/admin/install.bash /tmp/
   5 | >>> RUN /tmp/install.bash
   6 |
   7 |     WORKDIR /src
--------------------
ERROR: failed to solve: process "/bin/sh -c /tmp/install.bash" did not complete successfully: exit code: 1
make: *** [Makefile:51: image] Error 1
@OneCodeMonkey
Copy link
Author

I have tried this command on CentOS7.9 and Ubuntu20.04, both failed on the same step :(

@raxod502
Copy link
Member

You omitted the part of the logs that would contain the actual error message, but see #168. It's not expected that the project is buildable in its current state.

@OneCodeMonkey
Copy link
Author

ok~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants