You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Ted Lin (Jira)" <ji...@apache.org> on 2023/05/15 10:08:00 UTC
[jira] [Updated] (AMBARI-25938) dev-support/docker/docker/Dockerfile failed
[ https://issues.apache.org/jira/browse/AMBARI-25938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Lin updated AMBARI-25938:
-----------------------------
Description:
According to README.md:
{code:java}
docker build -t ambari/build ./dev-support/docker/docker{code}
1.
{code:java}
FROM centos:centos6 {code}
will error:
{code:java}
Step 1/39 : FROM centos:centos6
centos6: Pulling from library/centos
ff50d722b382: Pull complete
Digest: sha256:a93df2e96e07f56ea48f215425c6f1673ab922927894595bb5c0ee4c5a955133
Status: Downloaded newer image for centos:centos6
---> 5bf9684f4720
Step 2/39 : RUN echo root:changeme | chpasswd
---> Running in 54aaee7f235c
Removing intermediate container 54aaee7f235c
---> 54cc72d01d59
Step 3/39 : RUN yum clean all -y && yum update -y
---> Running in 785a7fc318b5
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up Everything
Loaded plugins: fastestmirror, ovl
Setting up Update Process
Determining fastest mirrors
Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
The command '/bin/sh -c yum clean all -y && yum update -y' returned a non-zero code: 1{code}
2.
Install java error:
{code:java}
Sending build context to Docker daemon 24.06kB
Step 1/39 : FROM centos:centos7
---> eeb6ee3f44bd
Step 2/39 : RUN echo root:changeme | chpasswd
---> Using cache
---> 8f944f131f19
Step 3/39 : RUN yum clean all -y && yum update -y
---> Using cache
---> 40b142a39186
Step 4/39 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
---> Using cache
---> 48d721b3c540
Step 5/39 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
---> Using cache
---> 8812a726d248
Step 6/39 : RUN rpm -e --nodeps --justdb glibc-common
---> Using cache
---> abc177358f82
Step 7/39 : RUN yum -y install glibc-common
---> Using cache
---> cb4acf9c1c22
Step 8/39 : ENV HOME /root
---> Using cache
---> 6a52499d1204
Step 9/39 : RUN wget --no-check-certificate --no-cookies --header "Cookie:oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm -O jdk-8u60-linux-x64.rpm
---> Running in 243814cca96a
--2023-05-15 10:00:09-- http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm
Resolving download.oracle.com (download.oracle.com)... failed: Name or service not known.
wget: unable to resolve host address 'download.oracle.com'
The command '/bin/sh -c wget --no-check-certificate --no-cookies --header "Cookie:oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm -O jdk-8u60-linux-x64.rpm' returned a non-zero code: 4{code}
3.
maven install error:
{code:java}
Sending build context to Docker daemon 24.06kB
Step 1/38 : FROM centos:centos7
---> eeb6ee3f44bd
Step 2/38 : RUN echo root:changeme | chpasswd
---> Using cache
---> 8f944f131f19
Step 3/38 : RUN yum clean all -y && yum update -y
---> Using cache
---> 40b142a39186
Step 4/38 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
---> Using cache
---> 48d721b3c540
Step 5/38 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
---> Using cache
---> 8812a726d248
Step 6/38 : RUN rpm -e --nodeps --justdb glibc-common
---> Using cache
---> abc177358f82
Step 7/38 : RUN yum -y install glibc-common
---> Using cache
---> cb4acf9c1c22
Step 8/38 : ENV HOME /root
---> Using cache
---> 6a52499d1204
Step 9/38 : RUN yum -y install java-1.8.0-openjdk-devel
---> Using cache
---> 041184a22521
Step 10/38 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
---> Using cache
---> 675085919ef5
Step 11/38 : RUN mkdir -p /opt/maven
---> Using cache
---> cd4e1cb6b96a
Step 12/38 : WORKDIR /opt/maven
---> Using cache
---> cc83d898b8d5
Step 13/38 : RUN wget http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
---> Running in f85fb23bd293
--2023-05-15 10:02:06-- http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
Resolving apache.cs.utah.edu (apache.cs.utah.edu)... failed: Name or service not known.
wget: unable to resolve host address 'apache.cs.utah.edu'
The command '/bin/sh -c wget http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz' returned a non-zero code: 4{code}
4.
epel error:
{code:java}
Sending build context to Docker daemon 24.06kB
Step 1/39 : FROM centos:centos7
---> eeb6ee3f44bd
Step 2/39 : RUN echo root:changeme | chpasswd
---> Using cache
---> 8f944f131f19
Step 3/39 : RUN yum clean all -y && yum update -y
---> Using cache
---> 40b142a39186
Step 4/39 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
---> Using cache
---> 48d721b3c540
Step 5/39 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
---> Using cache
---> 8812a726d248
Step 6/39 : RUN rpm -e --nodeps --justdb glibc-common
---> Using cache
---> abc177358f82
Step 7/39 : RUN yum -y install glibc-common
---> Using cache
---> cb4acf9c1c22
Step 8/39 : ENV HOME /root
---> Using cache
---> 6a52499d1204
Step 9/39 : RUN yum -y install java-1.8.0-openjdk-devel
---> Using cache
---> 041184a22521
Step 10/39 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
---> Using cache
---> 675085919ef5
Step 11/39 : RUN mkdir -p /opt/maven
---> Using cache
---> cd4e1cb6b96a
Step 12/39 : WORKDIR /opt/maven
---> Using cache
---> cc83d898b8d5
Step 13/39 : ENV MAVEN_VERSION 3.9.1
---> Using cache
---> d1efe046d472
Step 14/39 : RUN wget http://apache.cs.utah.edu/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
---> Using cache
---> a49039416a4f
Step 15/39 : RUN tar -xvzf /opt/maven/apache-maven-$MAVEN_VERSION-bin.tar.gz
---> Using cache
---> c9121a70549b
Step 16/39 : RUN rm -rf /opt/maven/apache-maven-$MAVEN_VERSION-bin.tar.gz
---> Using cache
---> 15fb9f8806a8
Step 17/39 : ENV M2_HOME /opt/maven/apache-maven-$MAVEN_VERSION
---> Using cache
---> 85ca832b6bb6
Step 18/39 : ENV MAVEN_OPTS -Xmx2048m -XX:MaxPermSize=256m
---> Using cache
---> 2f6ad0fa80a4
Step 19/39 : ENV PATH $PATH:$JAVA_HOME/bin:$M2_HOME/bin
---> Using cache
---> b2f01e0b8bfd
Step 20/39 : RUN ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''
---> Using cache
---> 9eb3212115f1
Step 21/39 : RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys
---> Using cache
---> 6dbc322e1e71
Step 22/39 : RUN chmod 600 /root/.ssh/authorized_keys
---> Using cache
---> 3f11b1cc0373
Step 23/39 : RUN sed -ri 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config
---> Using cache
---> c25ea9e49e8d
Step 24/39 : RUN git config --global url."https://".insteadOf git://
---> Using cache
---> 9acdfee39add
Step 25/39 : RUN yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
---> Running in a6438095f2cb
Loaded plugins: fastestmirror, ovl
Cannot open: http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm. Skipping.
Error: Nothing to do
The command '/bin/sh -c yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm' returned a non-zero code: 1{code}
was:
1.
{code:java}
FROM centos:centos6 {code}
will error:
{code:java}
Step 1/39 : FROM centos:centos6
centos6: Pulling from library/centos
ff50d722b382: Pull complete
Digest: sha256:a93df2e96e07f56ea48f215425c6f1673ab922927894595bb5c0ee4c5a955133
Status: Downloaded newer image for centos:centos6
---> 5bf9684f4720
Step 2/39 : RUN echo root:changeme | chpasswd
---> Running in 54aaee7f235c
Removing intermediate container 54aaee7f235c
---> 54cc72d01d59
Step 3/39 : RUN yum clean all -y && yum update -y
---> Running in 785a7fc318b5
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up Everything
Loaded plugins: fastestmirror, ovl
Setting up Update Process
Determining fastest mirrors
Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
The command '/bin/sh -c yum clean all -y && yum update -y' returned a non-zero code: 1{code}
2.
Install java error:
{code:java}
Sending build context to Docker daemon 24.06kB
Step 1/39 : FROM centos:centos7
---> eeb6ee3f44bd
Step 2/39 : RUN echo root:changeme | chpasswd
---> Using cache
---> 8f944f131f19
Step 3/39 : RUN yum clean all -y && yum update -y
---> Using cache
---> 40b142a39186
Step 4/39 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
---> Using cache
---> 48d721b3c540
Step 5/39 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
---> Using cache
---> 8812a726d248
Step 6/39 : RUN rpm -e --nodeps --justdb glibc-common
---> Using cache
---> abc177358f82
Step 7/39 : RUN yum -y install glibc-common
---> Using cache
---> cb4acf9c1c22
Step 8/39 : ENV HOME /root
---> Using cache
---> 6a52499d1204
Step 9/39 : RUN wget --no-check-certificate --no-cookies --header "Cookie:oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm -O jdk-8u60-linux-x64.rpm
---> Running in 243814cca96a
--2023-05-15 10:00:09-- http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm
Resolving download.oracle.com (download.oracle.com)... failed: Name or service not known.
wget: unable to resolve host address 'download.oracle.com'
The command '/bin/sh -c wget --no-check-certificate --no-cookies --header "Cookie:oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm -O jdk-8u60-linux-x64.rpm' returned a non-zero code: 4{code}
3.
maven install error:
{code:java}
Sending build context to Docker daemon 24.06kB
Step 1/38 : FROM centos:centos7
---> eeb6ee3f44bd
Step 2/38 : RUN echo root:changeme | chpasswd
---> Using cache
---> 8f944f131f19
Step 3/38 : RUN yum clean all -y && yum update -y
---> Using cache
---> 40b142a39186
Step 4/38 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
---> Using cache
---> 48d721b3c540
Step 5/38 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
---> Using cache
---> 8812a726d248
Step 6/38 : RUN rpm -e --nodeps --justdb glibc-common
---> Using cache
---> abc177358f82
Step 7/38 : RUN yum -y install glibc-common
---> Using cache
---> cb4acf9c1c22
Step 8/38 : ENV HOME /root
---> Using cache
---> 6a52499d1204
Step 9/38 : RUN yum -y install java-1.8.0-openjdk-devel
---> Using cache
---> 041184a22521
Step 10/38 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
---> Using cache
---> 675085919ef5
Step 11/38 : RUN mkdir -p /opt/maven
---> Using cache
---> cd4e1cb6b96a
Step 12/38 : WORKDIR /opt/maven
---> Using cache
---> cc83d898b8d5
Step 13/38 : RUN wget http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
---> Running in f85fb23bd293
--2023-05-15 10:02:06-- http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
Resolving apache.cs.utah.edu (apache.cs.utah.edu)... failed: Name or service not known.
wget: unable to resolve host address 'apache.cs.utah.edu'
The command '/bin/sh -c wget http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz' returned a non-zero code: 4{code}
4.
epel error:
{code:java}
Sending build context to Docker daemon 24.06kB
Step 1/39 : FROM centos:centos7
---> eeb6ee3f44bd
Step 2/39 : RUN echo root:changeme | chpasswd
---> Using cache
---> 8f944f131f19
Step 3/39 : RUN yum clean all -y && yum update -y
---> Using cache
---> 40b142a39186
Step 4/39 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
---> Using cache
---> 48d721b3c540
Step 5/39 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
---> Using cache
---> 8812a726d248
Step 6/39 : RUN rpm -e --nodeps --justdb glibc-common
---> Using cache
---> abc177358f82
Step 7/39 : RUN yum -y install glibc-common
---> Using cache
---> cb4acf9c1c22
Step 8/39 : ENV HOME /root
---> Using cache
---> 6a52499d1204
Step 9/39 : RUN yum -y install java-1.8.0-openjdk-devel
---> Using cache
---> 041184a22521
Step 10/39 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
---> Using cache
---> 675085919ef5
Step 11/39 : RUN mkdir -p /opt/maven
---> Using cache
---> cd4e1cb6b96a
Step 12/39 : WORKDIR /opt/maven
---> Using cache
---> cc83d898b8d5
Step 13/39 : ENV MAVEN_VERSION 3.9.1
---> Using cache
---> d1efe046d472
Step 14/39 : RUN wget http://apache.cs.utah.edu/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
---> Using cache
---> a49039416a4f
Step 15/39 : RUN tar -xvzf /opt/maven/apache-maven-$MAVEN_VERSION-bin.tar.gz
---> Using cache
---> c9121a70549b
Step 16/39 : RUN rm -rf /opt/maven/apache-maven-$MAVEN_VERSION-bin.tar.gz
---> Using cache
---> 15fb9f8806a8
Step 17/39 : ENV M2_HOME /opt/maven/apache-maven-$MAVEN_VERSION
---> Using cache
---> 85ca832b6bb6
Step 18/39 : ENV MAVEN_OPTS -Xmx2048m -XX:MaxPermSize=256m
---> Using cache
---> 2f6ad0fa80a4
Step 19/39 : ENV PATH $PATH:$JAVA_HOME/bin:$M2_HOME/bin
---> Using cache
---> b2f01e0b8bfd
Step 20/39 : RUN ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''
---> Using cache
---> 9eb3212115f1
Step 21/39 : RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys
---> Using cache
---> 6dbc322e1e71
Step 22/39 : RUN chmod 600 /root/.ssh/authorized_keys
---> Using cache
---> 3f11b1cc0373
Step 23/39 : RUN sed -ri 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config
---> Using cache
---> c25ea9e49e8d
Step 24/39 : RUN git config --global url."https://".insteadOf git://
---> Using cache
---> 9acdfee39add
Step 25/39 : RUN yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
---> Running in a6438095f2cb
Loaded plugins: fastestmirror, ovl
Cannot open: http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm. Skipping.
Error: Nothing to do
The command '/bin/sh -c yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm' returned a non-zero code: 1{code}
> dev-support/docker/docker/Dockerfile failed
> -------------------------------------------
>
> Key: AMBARI-25938
> URL: https://issues.apache.org/jira/browse/AMBARI-25938
> Project: Ambari
> Issue Type: Bug
> Components: build
> Reporter: Ted Lin
> Priority: Major
>
> According to README.md:
> {code:java}
> docker build -t ambari/build ./dev-support/docker/docker{code}
> 1.
> {code:java}
> FROM centos:centos6 {code}
> will error:
> {code:java}
> Step 1/39 : FROM centos:centos6
> centos6: Pulling from library/centos
> ff50d722b382: Pull complete
> Digest: sha256:a93df2e96e07f56ea48f215425c6f1673ab922927894595bb5c0ee4c5a955133
> Status: Downloaded newer image for centos:centos6
> ---> 5bf9684f4720
> Step 2/39 : RUN echo root:changeme | chpasswd
> ---> Running in 54aaee7f235c
> Removing intermediate container 54aaee7f235c
> ---> 54cc72d01d59
> Step 3/39 : RUN yum clean all -y && yum update -y
> ---> Running in 785a7fc318b5
> Loaded plugins: fastestmirror, ovl
> Cleaning repos: base extras updates
> Cleaning up Everything
> Loaded plugins: fastestmirror, ovl
> Setting up Update Process
> Determining fastest mirrors
> Error: Cannot find a valid baseurl for repo: base
> YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
> Eg. Invalid release/repo/arch combination/
> removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
> The command '/bin/sh -c yum clean all -y && yum update -y' returned a non-zero code: 1{code}
> 2.
> Install java error:
> {code:java}
> Sending build context to Docker daemon 24.06kB
> Step 1/39 : FROM centos:centos7
> ---> eeb6ee3f44bd
> Step 2/39 : RUN echo root:changeme | chpasswd
> ---> Using cache
> ---> 8f944f131f19
> Step 3/39 : RUN yum clean all -y && yum update -y
> ---> Using cache
> ---> 40b142a39186
> Step 4/39 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
> ---> Using cache
> ---> 48d721b3c540
> Step 5/39 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
> ---> Using cache
> ---> 8812a726d248
> Step 6/39 : RUN rpm -e --nodeps --justdb glibc-common
> ---> Using cache
> ---> abc177358f82
> Step 7/39 : RUN yum -y install glibc-common
> ---> Using cache
> ---> cb4acf9c1c22
> Step 8/39 : ENV HOME /root
> ---> Using cache
> ---> 6a52499d1204
> Step 9/39 : RUN wget --no-check-certificate --no-cookies --header "Cookie:oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm -O jdk-8u60-linux-x64.rpm
> ---> Running in 243814cca96a
> --2023-05-15 10:00:09-- http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm
> Resolving download.oracle.com (download.oracle.com)... failed: Name or service not known.
> wget: unable to resolve host address 'download.oracle.com'
> The command '/bin/sh -c wget --no-check-certificate --no-cookies --header "Cookie:oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm -O jdk-8u60-linux-x64.rpm' returned a non-zero code: 4{code}
> 3.
> maven install error:
> {code:java}
> Sending build context to Docker daemon 24.06kB
> Step 1/38 : FROM centos:centos7
> ---> eeb6ee3f44bd
> Step 2/38 : RUN echo root:changeme | chpasswd
> ---> Using cache
> ---> 8f944f131f19
> Step 3/38 : RUN yum clean all -y && yum update -y
> ---> Using cache
> ---> 40b142a39186
> Step 4/38 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
> ---> Using cache
> ---> 48d721b3c540
> Step 5/38 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
> ---> Using cache
> ---> 8812a726d248
> Step 6/38 : RUN rpm -e --nodeps --justdb glibc-common
> ---> Using cache
> ---> abc177358f82
> Step 7/38 : RUN yum -y install glibc-common
> ---> Using cache
> ---> cb4acf9c1c22
> Step 8/38 : ENV HOME /root
> ---> Using cache
> ---> 6a52499d1204
> Step 9/38 : RUN yum -y install java-1.8.0-openjdk-devel
> ---> Using cache
> ---> 041184a22521
> Step 10/38 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
> ---> Using cache
> ---> 675085919ef5
> Step 11/38 : RUN mkdir -p /opt/maven
> ---> Using cache
> ---> cd4e1cb6b96a
> Step 12/38 : WORKDIR /opt/maven
> ---> Using cache
> ---> cc83d898b8d5
> Step 13/38 : RUN wget http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
> ---> Running in f85fb23bd293
> --2023-05-15 10:02:06-- http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
> Resolving apache.cs.utah.edu (apache.cs.utah.edu)... failed: Name or service not known.
> wget: unable to resolve host address 'apache.cs.utah.edu'
> The command '/bin/sh -c wget http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz' returned a non-zero code: 4{code}
> 4.
> epel error:
> {code:java}
> Sending build context to Docker daemon 24.06kB
> Step 1/39 : FROM centos:centos7
> ---> eeb6ee3f44bd
> Step 2/39 : RUN echo root:changeme | chpasswd
> ---> Using cache
> ---> 8f944f131f19
> Step 3/39 : RUN yum clean all -y && yum update -y
> ---> Using cache
> ---> 40b142a39186
> Step 4/39 : RUN yum -y install vim wget rpm-build sudo which telnet tar openssh-server openssh-clients ntp git python-setuptools python-devel httpd
> ---> Using cache
> ---> 48d721b3c540
> Step 5/39 : RUN yum -y install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
> ---> Using cache
> ---> 8812a726d248
> Step 6/39 : RUN rpm -e --nodeps --justdb glibc-common
> ---> Using cache
> ---> abc177358f82
> Step 7/39 : RUN yum -y install glibc-common
> ---> Using cache
> ---> cb4acf9c1c22
> Step 8/39 : ENV HOME /root
> ---> Using cache
> ---> 6a52499d1204
> Step 9/39 : RUN yum -y install java-1.8.0-openjdk-devel
> ---> Using cache
> ---> 041184a22521
> Step 10/39 : ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk
> ---> Using cache
> ---> 675085919ef5
> Step 11/39 : RUN mkdir -p /opt/maven
> ---> Using cache
> ---> cd4e1cb6b96a
> Step 12/39 : WORKDIR /opt/maven
> ---> Using cache
> ---> cc83d898b8d5
> Step 13/39 : ENV MAVEN_VERSION 3.9.1
> ---> Using cache
> ---> d1efe046d472
> Step 14/39 : RUN wget http://apache.cs.utah.edu/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
> ---> Using cache
> ---> a49039416a4f
> Step 15/39 : RUN tar -xvzf /opt/maven/apache-maven-$MAVEN_VERSION-bin.tar.gz
> ---> Using cache
> ---> c9121a70549b
> Step 16/39 : RUN rm -rf /opt/maven/apache-maven-$MAVEN_VERSION-bin.tar.gz
> ---> Using cache
> ---> 15fb9f8806a8
> Step 17/39 : ENV M2_HOME /opt/maven/apache-maven-$MAVEN_VERSION
> ---> Using cache
> ---> 85ca832b6bb6
> Step 18/39 : ENV MAVEN_OPTS -Xmx2048m -XX:MaxPermSize=256m
> ---> Using cache
> ---> 2f6ad0fa80a4
> Step 19/39 : ENV PATH $PATH:$JAVA_HOME/bin:$M2_HOME/bin
> ---> Using cache
> ---> b2f01e0b8bfd
> Step 20/39 : RUN ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''
> ---> Using cache
> ---> 9eb3212115f1
> Step 21/39 : RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys
> ---> Using cache
> ---> 6dbc322e1e71
> Step 22/39 : RUN chmod 600 /root/.ssh/authorized_keys
> ---> Using cache
> ---> 3f11b1cc0373
> Step 23/39 : RUN sed -ri 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config
> ---> Using cache
> ---> c25ea9e49e8d
> Step 24/39 : RUN git config --global url."https://".insteadOf git://
> ---> Using cache
> ---> 9acdfee39add
> Step 25/39 : RUN yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> ---> Running in a6438095f2cb
> Loaded plugins: fastestmirror, ovl
> Cannot open: http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm. Skipping.
> Error: Nothing to do
> The command '/bin/sh -c yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm' returned a non-zero code: 1{code}
>
>
>
>
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org