Closed iii-i closed 1 week ago
Here is the error log:
$ ./build-selfhosted.sh -b docker ubuntu [+] Building 0.3s (11/18) docker:default => [internal] load build definition from Dockerfile.ubuntu 0.0s => => transferring dockerfile: 1.84kB 0.0s => [internal] load metadata for docker.io/library/ubuntu:22.04 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [ 1/14] FROM docker.io/library/ubuntu:22.04 0.0s => [internal] load build context 0.0s => => transferring context: 321B 0.0s => CACHED [ 2/14] RUN apt-get -qq update -y && apt-get -qq -y install wget git sudo alien curl libicu70 sudo && apt-get -qq -y install cpio rpm2cpio && 0.0s => CACHED [ 3/14] COPY build-files/convert-rpm.sh /tmp 0.0s => CACHED [ 4/14] RUN sed "s/--no-absolute-filenames//" /usr/share/perl5/Alien/Package/Rpm.pm > /tmp/Rpm.pm 0.0s => CACHED [ 5/14] RUN cp /tmp/Rpm.pm /usr/share/perl5/Alien/Package/Rpm.pm 0.0s => CACHED [ 6/14] RUN /tmp/convert-rpm.sh 6 0.0s => ERROR [ 7/14] RUN dpkg --install /tmp/*.deb && rm -rf /tmp/*.deb && echo "Using SDK - `dotnet --version`" 0.2s ------ > [ 7/14] RUN dpkg --install /tmp/*.deb && rm -rf /tmp/*.deb && echo "Using SDK - `dotnet --version`": 0.204 dpkg: error: cannot access archive '/tmp/*.deb': No such file or directory ------ Dockerfile.ubuntu:19 -------------------- 18 | 19 | >>> RUN dpkg --install /tmp/*.deb && \ 20 | >>> rm -rf /tmp/*.deb && \ 21 | >>> echo "Using SDK - `dotnet --version`" 22 | -------------------- ERROR: failed to solve: process "/bin/sh -c dpkg --install /tmp/*.deb && rm -rf /tmp/*.deb && echo \"Using SDK - `dotnet --version`\"" did not complete successfully: exit code: 2
It works now. Thanks!
Here is the error log: