-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When I try to build the container image locally, it does not suceed. For now this is not an issue since we have the image in GitHub.
I build it with Podman instead of Docker:
pwd
/Users/dgedon/git/uyuni-docs-helper/image
podman build .
STEP 1/36: FROM opensuse/leap:15.5
STEP 2/36: MAINTAINER Julio Gonzalez Gil <jgonzalez@suse.com>
--> Using cache 1324f24400e6aaaac341f90ceffc61bd3cece516839c6658df28c1e8dc578152
--> 1324f24400e6
STEP 3/36: ARG REGULARUSER=docs
--> Using cache 2f2a187208cb0fb6ca23f777257abdf489e3f8a0b06f2ee47060a7e62558a3d7
--> 2f2a187208cb
STEP 4/36: ENV GITREPO=https://github.com/uyuni-project/uyuni-docs.git
--> Using cache d412ddb0e0cc2fb85aa24b0d323990ac4c1c060425859bfe4aa4b454e842c31a
--> d412ddb0e0cc
STEP 5/36: ENV GITREF=master
--> Using cache 05c7c15fbc089273ef5b6e5cc95767dc424963a2629a2307cdae933a0cea2107
--> 05c7c15fbc08
STEP 6/36: ENV PRODUCT=uyuni
--> Using cache 7ffa2cad2bf2372796df3ad7674a1120f94d859a998af54f1562f016471dfaf4
--> 7ffa2cad2bf2
STEP 7/36: ENV COMMAND=all-uyuni
--> Using cache 959bee0823cd8a4080e31e73db424c0b51e6d5d02151dbafd1822acecf80b5af
--> 959bee0823cd
STEP 8/36: ENV SERVE=0
--> Using cache b665d58b3740f27ae49a20e99509e5e7455eb5a91761802f4a70680f5c1fa855
--> b665d58b3740
STEP 9/36: USER root
--> Using cache 8a2b42edf3ad7997775b3b48b69f0806ff2c8a825bde2fa576524d2536f187eb
--> 8a2b42edf3ad
STEP 10/36: RUN groupadd ${REGULARUSER} && useradd -d /home/${REGULARUSER} -m ${REGULARUSER}
--> Using cache 2c15c9d2e01c7b80edf60ce0f5e88d326c998627020bb2e3528088813d5d01af
--> 2c15c9d2e01c
STEP 11/36: RUN zypper -q -n ref && zypper -q -n in glibc-locale git gzip npm zip && zypper -q -n in -t pattern devel_C_C++ devel_python3 devel_perl
--> Using cache bb41a60517edd50f4a80f13ac1b312ee13f5e159cfe9bbd29d7a96b9595a43dd
--> bb41a60517ed
(...)
Now using node v22.20.0 (npm v10.9.3)
Creating default alias: default -> lts/* (-> v22.20.0 *)
Now using node v22.20.0 (npm v10.9.3)
--> 6bd418d23ec8
STEP 16/36: RUN source ~/.bashrc && npm i -g @antora/cli@3.1 @antora/site-generator@3.1 && npm i -g @antora/lunr-extension && npm i -g asciidoctor @asciidoctor/tabs
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.1.3: Glob versions prior to v9 are no longer supported
added 214 packages in 19s
29 packages are looking for funding
run `npm fund` for details
added 9 packages in 3s
6 packages are looking for funding
run `npm fund` for details
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
(...)
Appending installation info to /usr/lib/perl5/5.26.1/aarch64-linux-thread-multi/perllocal.pod
NEZUMI/Unicode-LineBreak-2019.001.tar.gz
/usr/bin/make install -- OK
--> 754f614aac94
STEP 27/36: RUN sudo locale-gen ja_JP.UTF-8 zh_CN.UTF-8 ko_KR.UTF-8 && sudo update-locale && locale -a | grep -E "ja_JP|zh_CN|ko_KR"
/bin/sh: sudo: command not found
Error: building at STEP "RUN sudo locale-gen ja_JP.UTF-8 zh_CN.UTF-8 ko_KR.UTF-8 && sudo update-locale && locale -a | grep -E "ja_JP|zh_CN|ko_KR"": while running runtime: exit status 127After adding the sudo package to the install step
diff --git i/image/Dockerfile w/image/Dockerfile
index af72ec9..1cd1316 100644
--- i/image/Dockerfile
+++ w/image/Dockerfile
@@ -18,7 +18,7 @@ RUN groupadd ${REGULARUSER} && \
# Base requirements
RUN zypper -q -n ref && \
- zypper -q -n in glibc-locale git gzip npm zip && \
+ zypper -q -n in glibc-locale git gzip npm sudo zip && \
zypper -q -n in -t pattern devel_C_C++ devel_python3 devel_perlI get another error:
(...)
Appending installation info to /usr/lib/perl5/5.26.1/aarch64-linux-thread-multi/perllocal.pod
NEZUMI/Unicode-LineBreak-2019.001.tar.gz
/usr/bin/make install -- OK
--> 1a6fba75bfe2
STEP 27/36: RUN sudo locale-gen ja_JP.UTF-8 zh_CN.UTF-8 ko_KR.UTF-8 && sudo update-locale && locale -a | grep -E "ja_JP|zh_CN|ko_KR"
sudo: locale-gen: command not found
Error: building at STEP "RUN sudo locale-gen ja_JP.UTF-8 zh_CN.UTF-8 ko_KR.UTF-8 && sudo update-locale && locale -a | grep -E "ja_JP|zh_CN|ko_KR"": while running runtime: exit status 1It seems locale-gen is not available in openSUSE anymore.
Links
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working