adamant-kite-43734
02/12/2024, 11:40 AMblue-planet-23617
02/12/2024, 2:04 PMwitty-jelly-95845
02/12/2024, 8:04 PMwitty-petabyte-4460
02/13/2024, 6:33 AMARG OS_IMAGE=<http://registry.suse.com/suse/sles12sp5:latest|registry.suse.com/suse/sles12sp5:latest>
FROM $OS_IMAGE
LABEL maintainer="Chef Software, Inc. <<mailto:maintainers@chef.io|maintainers@chef.io>>"
RUN zypper lr
RUN zypper update -y && \
zypper install -y \
autoconf \
bison \
flex \
gcc \
gcc-c++ \
make \
m4 \
wget \
cron \
sudo \
awk \
rpm-build \
insserv-compat \
automake \
hostname \
git
RUN useradd nobody
# enable ipv6
RUN echo net.ipv6.conf.all.disable_ipv6=0 >> /etc/sysctl.conf
RUN echo net.ipv6.conf.default.disable_ipv6=0 >> /etc/sysctl.conf
RUN echo net.ipv6.conf.lo.disable_ipv6=0 >> /etc/sysctl.conf
# need to run this to enable ipv6 when the container starts
ENTRYPOINT sysctl -p && /bin/bash
Error :
=> CACHED [1/7] FROM <http://registry.suse.com/suse/sles12sp5:latest@sha256:85bd363d352afaf464dec4ae|registry.suse.com/suse/sles12sp5:latest@sha256:85bd363d352afaf464dec4ae> 0.0s
=> ERROR [2/7] RUN zypper lr 1.7s
------
> [2/7] RUN zypper lr:
1.291 Refreshing service 'container-suseconnect-zypp'.
1.625 Warning: Skipping service 'container-suseconnect-zypp' because of the above error.
1.625 Problem retrieving the repository index file for service 'container-suseconnect-zypp':
1.625 [container-suseconnect-zypp|file:/usr/lib/zypp/plugins/services/container-suseconnect-zypp]
1.626 Warning: No repositories defined.
1.626 Use the 'zypper addrepo' command to add one or more repositories.
Tried adding the below lines
ADD <https://lxslsmt/smt.crt> /etc/pki/trust/anchors/smt.crt
RUN update-ca-certificates
but failing to load https://lxslsmt/smt.crtwitty-jelly-95845
02/23/2024, 6:33 PM