Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RROR [13/15] ADD ./flink-1.13.3 /opt/flink #18

Open
nengbai opened this issue Nov 22, 2021 · 0 comments
Open

RROR [13/15] ADD ./flink-1.13.3 /opt/flink #18

nengbai opened this issue Nov 22, 2021 · 0 comments

Comments

@nengbai
Copy link

nengbai commented Nov 22, 2021

There is an errors "RROR [13/15] ADD ./flink-1.13.3 /opt/flink " when I execute docker build. would you like to how to fix the issues. thanks!

ls -ltr
total 460632
drwxr-xr-x 12 baineng staff 384 10 13 00:31 apache-flink-libraries-1.13.3
drwxr-xr-x 11 baineng staff 352 10 13 00:31 apache-flink-1.13.3
-rw-r--r-- 1 baineng staff 219702327 10 13 00:42 apache-flink-libraries-1.13.3.tar.gz
-rw-r--r-- 1 baineng staff 912721 10 13 00:42 apache-flink-1.13.3.tar.gz
-rwxr-xr-x 1 baineng staff 4163 11 22 14:26 docker-entrypoint.sh
-rw-r--r-- 1 baineng staff 249 11 22 14:26 requirements.txt
-rw-r--r-- 1 baineng staff 3613 11 22 15:16 Dockerfile
baineng@baineng-mac image % docker build --tag pyflink/playgrounds:1.13.0-rc2 .
[+] Building 77.2s (3/3) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> ERROR [internal] load metadata for docker.io/library/openjdk:8-jre 77.1s

[internal] load metadata for docker.io/library/openjdk:8-jre:


failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head "https://registry-1.docker.io/v2/library/openjdk/manifests/8-jre": Service Unavailable
baineng@baineng-mac image % docker build --tag pyflink/playgrounds:1.13.0-rc2 .
[+] Building 4.3s (18/19)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/openjdk:8-jre 4.2s
=> CANCELED [ 1/15] FROM docker.io/library/openjdk:8-jre@sha256:731f69f1d6a7dcb314deba3f349361e35eae7e97647f7163a65ca2f17dddaf6a 0.0s
=> => resolve docker.io/library/openjdk:8-jre@sha256:731f69f1d6a7dcb314deba3f349361e35eae7e97647f7163a65ca2f17dddaf6a 0.0s
=> => sha256:731f69f1d6a7dcb314deba3f349361e35eae7e97647f7163a65ca2f17dddaf6a 1.29kB / 1.29kB 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 183B 0.0s
=> CACHED [ 2/15] RUN set -ex; apt-get update; apt-get -y install libsnappy1v5; rm -rf /var/lib/apt/lists/* 0.0s
=> CACHED [ 3/15] RUN set -ex; apt-get update; apt-get -y install python3; apt-get -y install python3-pip; apt-get -y install python3-dev; ln -s /usr/bin/python3 /usr/bin/ 0.0s
=> CACHED [ 4/15] COPY ./requirements.txt /opt 0.0s
=> CACHED [ 5/15] RUN set -ex; apt-get update; python -m pip install --upgrade pip; pip install -r /opt/requirements.txt 0.0s
=> CACHED [ 6/15] COPY ./apache-flink-libraries-1.13.3.tar.gz /opt 0.0s
=> CACHED [ 7/15] RUN set -ex; python -m pip install /opt/apache-flink-libraries-1.13.3.tar.gz rm -f /opt/apache-flink-libraries-1.13.3.tar.gz 0.0s
=> CACHED [ 8/15] COPY ./apache-flink-1.13.3.tar.gz /opt 0.0s
=> CACHED [ 9/15] RUN set -ex; python -m pip install /opt/apache-flink-1.13.3.tar.gz rm -f /opt/apache-flink-1.13.3.tar.gz 0.0s
=> CACHED [10/15] RUN set -ex; wget -nv -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-$(dpkg --print-architecture)"; wget -nv -O /usr/local/ 0.0s
=> CACHED [11/15] RUN groupadd --system --gid=9999 flink && useradd --system --home-dir /opt/flink --uid=9999 --gid=flink flink 0.0s
=> CACHED [12/15] WORKDIR /opt/flink 0.0s
=> ERROR [13/15] ADD ./flink-1.13.3 /opt/flink 0.0s
=> ERROR [14/15] COPY ./flink-sql-connector-kafka_2.11-1.13.3.jar /opt/flink/lib/ 0.0s

[13/15] ADD ./flink-1.13.3 /opt/flink:



[14/15] COPY ./flink-sql-connector-kafka_2.11-1.13.3.jar /opt/flink/lib/:


failed to compute cache key: "/flink-sql-connector-kafka_2.11-1.13.3.jar" not found: not found
baineng@baineng-mac image % ls -ltr
total 460632
drwxr-xr-x 12 baineng staff 384 10 13 00:31 apache-flink-libraries-1.13.3
drwxr-xr-x 11 baineng staff 352 10 13 00:31 apache-flink-1.13.3
-rw-r--r-- 1 baineng staff 219702327 10 13 00:42 apache-flink-libraries-1.13.3.tar.gz
-rw-r--r-- 1 baineng staff 912721 10 13 00:42 apache-flink-1.13.3.tar.gz
-rwxr-xr-x 1 baineng staff 4163 11 22 14:26 docker-entrypoint.sh
-rw-r--r-- 1 baineng staff 249 11 22 14:26 requirements.txt
-rw-r--r-- 1 baineng staff 3613 11 22 15:16 Dockerfile
baineng@baineng-mac image % docker build --tag pyflink/playgrounds:1.13.0-rc2 .
[+] Building 1.5s (18/19)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/openjdk:8-jre 1.4s
=> [internal] load build context 0.0s
=> => transferring context: 183B 0.0s
=> CANCELED [ 1/15] FROM docker.io/library/openjdk:8-jre@sha256:731f69f1d6a7dcb314deba3f349361e35eae7e97647f7163a65ca2f17dddaf6a 0.0s
=> => resolve docker.io/library/openjdk:8-jre@sha256:731f69f1d6a7dcb314deba3f349361e35eae7e97647f7163a65ca2f17dddaf6a 0.0s
=> => sha256:731f69f1d6a7dcb314deba3f349361e35eae7e97647f7163a65ca2f17dddaf6a 1.29kB / 1.29kB 0.0s
=> => sha256:07a7f781348228a0bf3e18d853f1ea79ca71dcc3373e5fc3cef371cda4ae046c 1.58kB / 1.58kB 0.0s
=> => sha256:0e7f84dc82a402fecfdfc9ba03dfdb36cf6afde40292e2b013b64a578f5e0f68 7.43kB / 7.43kB 0.0s
=> CACHED [ 2/15] RUN set -ex; apt-get update; apt-get -y install libsnappy1v5; rm -rf /var/lib/apt/lists/* 0.0s
=> CACHED [ 3/15] RUN set -ex; apt-get update; apt-get -y install python3; apt-get -y install python3-pip; apt-get -y install python3-dev; ln -s /usr/bin/python3 /usr/bin/ 0.0s
=> CACHED [ 4/15] COPY ./requirements.txt /opt 0.0s
=> CACHED [ 5/15] RUN set -ex; apt-get update; python -m pip install --upgrade pip; pip install -r /opt/requirements.txt 0.0s
=> CACHED [ 6/15] COPY ./apache-flink-libraries-1.13.3.tar.gz /opt 0.0s
=> CACHED [ 7/15] RUN set -ex; python -m pip install /opt/apache-flink-libraries-1.13.3.tar.gz rm -f /opt/apache-flink-libraries-1.13.3.tar.gz 0.0s
=> CACHED [ 8/15] COPY ./apache-flink-1.13.3.tar.gz /opt 0.0s
=> CACHED [ 9/15] RUN set -ex; python -m pip install /opt/apache-flink-1.13.3.tar.gz rm -f /opt/apache-flink-1.13.3.tar.gz 0.0s
=> CACHED [10/15] RUN set -ex; wget -nv -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-$(dpkg --print-architecture)"; wget -nv -O /usr/local/ 0.0s
=> CACHED [11/15] RUN groupadd --system --gid=9999 flink && useradd --system --home-dir /opt/flink --uid=9999 --gid=flink flink 0.0s
=> CACHED [12/15] WORKDIR /opt/flink 0.0s
=> ERROR [13/15] ADD ./flink-1.13.3 /opt/flink 0.0s
=> ERROR [14/15] COPY ./flink-sql-connector-kafka_2.11-1.13.3.jar /opt/flink/lib/ 0.0s

[13/15] ADD ./flink-1.13.3 /opt/flink:



[14/15] COPY ./flink-sql-connector-kafka_2.11-1.13.3.jar /opt/flink/lib/:


failed to compute cache key: "/flink-sql-connector-kafka_2.11-1.13.3.jar" not found: not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant