Skip to content

Couldn't resolve host name for Spark UI #151

@mwa28

Description

@mwa28

While running on the latest Dockerfile from 3204a42, the following occurs on the public.ecr.aws/amazonlinux/amazonlinux:2023 :

$ docker build -t glue/sparkui:latest .
Sending build context to Docker daemon  13.82kB
Step 1/12 : FROM public.ecr.aws/amazonlinux/amazonlinux:2023
 ---> 53f71e804509
Step 2/12 : RUN dnf --setopt=install_weak_deps=False install -y java-1.8.0-amazon-corretto maven-amazon-corretto8 procps tar gzip && dnf clean all
 ---> Running in c8967c7d0f9e
Amazon Linux 2023 repository                    0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'amazonlinux':
  - Curl error (6): Couldn't resolve host name for https://cdn.amazonlinux.com/al2023/core/mirrors/2023.2.20231030/x86_64/mirror.list [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'amazonlinux': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://cdn.amazonlinux.com/al2023/core/mirrors/2023.2.20231030/x86_64/mirror.list [getaddrinfo() thread failed to start]
Ignoring repositories: amazonlinux
No match for argument: java-1.8.0-amazon-corretto
No match for argument: maven-amazon-corretto8
No match for argument: procps
No match for argument: tar
No match for argument: gzip
Error: Unable to find a match: java-1.8.0-amazon-corretto maven-amazon-corretto8 procps tar gzip
The command '/bin/sh -c dnf --setopt=install_weak_deps=False install -y java-1.8.0-amazon-corretto maven-amazon-corretto8 procps tar gzip && dnf clean all' returned a non-zero code: 1
[malhalabi@qa/ids-nonreg1] (~/docker_spark_ui)$ docker build -t glue/sparkui:latest .
Sending build context to Docker daemon  13.82kB
Step 1/12 : FROM public.ecr.aws/amazonlinux/amazonlinux:latest
latest: Pulling from amazonlinux/amazonlinux
Digest: sha256:4dea3e7f050c8946b29a40f759da06eb2a2046821e66facd7df1bb0e1ce87914
Status: Downloaded newer image for public.ecr.aws/amazonlinux/amazonlinux:latest
 ---> 53f71e804509
Step 2/12 : RUN dnf --setopt=install_weak_deps=False install -y java-1.8.0-amazon-corretto maven-amazon-corretto8 procps tar gzip && dnf clean all
 ---> Running in c6573ca33150
Amazon Linux 2023 repository                    0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'amazonlinux':
  - Curl error (6): Couldn't resolve host name for https://cdn.amazonlinux.com/al2023/core/mirrors/2023.2.20231030/x86_64/mirror.list [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'amazonlinux': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://cdn.amazonlinux.com/al2023/core/mirrors/2023.2.20231030/x86_64/mirror.list [getaddrinfo() thread failed to start]
Ignoring repositories: amazonlinux
No match for argument: java-1.8.0-amazon-corretto
No match for argument: maven-amazon-corretto8
No match for argument: procps
No match for argument: tar
No match for argument: gzip
Error: Unable to find a match: java-1.8.0-amazon-corretto maven-amazon-corretto8 procps tar gzip
The command '/bin/sh -c dnf --setopt=install_weak_deps=False install -y java-1.8.0-amazon-corretto maven-amazon-corretto8 procps tar gzip && dnf clean all' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions