onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.76k stars 274 forks source link

Docker build: `No package git222 available` #3864

Open Eloitor opened 1 year ago

Eloitor commented 1 year ago

I tried to follow the steps from https://github.com/onivim/oni2

Here is the output

❯ sudo docker build --network=host -t centos scripts/docker/centos

Sending build context to Docker daemon  3.072kB
Step 1/26 : FROM centos:7
 ---> eeb6ee3f44bd
Step 2/26 : RUN yum -y update
 ---> Using cache
 ---> f699896b4a44
Step 3/26 : RUN yum -y install centos-release-scl
 ---> Using cache
 ---> e31bd9371977
Step 4/26 : RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
 ---> Using cache
 ---> a540abb12442
Step 5/26 : RUN yum -y install llvm-toolset-7.0
 ---> Using cache
 ---> eb3303b35bf1
Step 6/26 : RUN scl enable llvm-toolset-7.0 'clang -v'
 ---> Using cache
 ---> f09f496296eb
Step 7/26 : RUN yum -y install gcc-c++ make sudo
 ---> Using cache
 ---> 07982e490ef4
Step 8/26 : RUN curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
 ---> Using cache
 ---> 8c2a1e43cf9f
Step 9/26 : RUN yum -y install nodejs npm coreutils grep tar sed gawk diffutils autoconf unzip python3
 ---> Using cache
 ---> 21e71a04e57c
Step 10/26 : RUN yum -y install file fuse fuse-devel wget bzip2-devel libXt-devel libSM-devel libICE-devel ncurses-devel libacl-devel libxrandr-devel libXinerama-devel libXcursor-devel libXi-devel mesa-libGL-devel mesa-libGLU-devel gtk3-devel perl-Digest-SHA bzip2 m4 patch which cmake3 git libxkbfile-devel
 ---> Using cache
 ---> fadb2ad26a04
Step 11/26 : RUN yum -y install perl perl-Thread-Queue
 ---> Using cache
 ---> 5d212ff9cb2f
Step 12/26 : RUN yum -y install /usr/lib64/libasan.so.0.0.0
 ---> Using cache
 ---> 8ee911b71773
Step 13/26 : RUN rpm -i https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/c/colm-0.13.0.4-2.el7.x86_64.rpm
 ---> Using cache
 ---> b3e1e9f0d1b4
Step 14/26 : RUN rpm -i https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/r/ragel-7.0.0.9-2.el7.x86_64.rpm
 ---> Using cache
 ---> 5b06cc7b24bc
Step 15/26 : RUN npm install --global --unsafe-perm=true esy@0.6.10
 ---> Using cache
 ---> 158c232338be
Step 16/26 : RUN npm install --global node-gyp
 ---> Using cache
 ---> c5fc3471318a
Step 17/26 : RUN yum -y install nasm
 ---> Using cache
 ---> 2fd4b2714fa3
Step 18/26 : RUN yum -y install https://repo.ius.io/ius-release-el7.rpm
 ---> Using cache
 ---> b767b79ad683
Step 19/26 : RUN yum -y remove git
 ---> Using cache
 ---> aba58e66bb8c
Step 20/26 : RUN yum -y install epel-release
 ---> Using cache
 ---> 547faa08a985
Step 21/26 : RUN yum -y install git222
 ---> Running in 9509b4019924
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.airenetworks.es
 * centos-sclo-rh: mirror.airenetworks.es
 * centos-sclo-sclo: mirror.airenetworks.es
 * epel: mirror.in2p3.fr
 * extras: mirror.airenetworks.es
 * updates: mirror.airenetworks.es
No package git222 available.
Error: Nothing to do
The command '/bin/sh -c yum -y install git222' returned a non-zero code: 1
redevil1 commented 1 year ago

same problem. please fix it,

TheTechRobo commented 1 year ago

Fixed it in #3865. It might break soon, though.

qt-haskell commented 1 year ago

Fixed it in #3865. It might break soon, though.

Works, thank you!

Eloitor commented 1 year ago

Fixed it in #3865. It might break soon, though.

After that this step worked but the following didn't: https://pastebin.com/nU5tmtb9

TheTechRobo commented 1 year ago

Known. Waiting on a release from esy-skia... https://github.com/revery-ui/esy-skia/pull/42

jakbin commented 1 year ago

@TheTechRobo is this fixed ?

TheTechRobo commented 1 year ago

It's fixed with esy-skia, but it hasn't made it out into a release. You can probably change the commit hash used as a dependency, but I haven't looked into it.

jakbin commented 1 year ago

It's fixed with esy-skia, but it hasn't made it out into a release. You can probably change the commit hash used as a dependency, but I haven't looked into it.

Where to change hash commit ?

TheTechRobo commented 1 year ago

No idea. As I said, I haven't looked into it

jakbin commented 1 year ago

Any update ?

TheTechRobo commented 1 year ago

Nothing that I know of.