You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/28 09:40:53 UTC
[GitHub] [apisix-dashboard] Caelebs edited a comment on issue #615: v2.0-rc2 Build docker image error.
Caelebs edited a comment on issue #615:
URL: https://github.com/apache/apisix-dashboard/issues/615#issuecomment-717815408
I tried to modify the Dockerfile and change the apisix code download address to 2.0 release version, but new problems appeared in the build process. The content of my modification is as follows
```
RUN wget **https://github.com/apache/apisix/archive/2.0.zip** \
&& apt-get update && apt-get install zip -y \
&& unzip **2.0.zip** \
&& rm -rf /go/manager-api/build-tools/apisix/ \
&& mkdir -p /go/manager-api/build-tools/apisix \
&& mv **./apisix-2.0/apisix/*** /go/manager-api/build-tools/apisix/
```
and the error message is `no such file or directory`
```
Step 12/17 : COPY --from=build-env /usr/share/zoneinfo/Hongkong /etc/localtime
---> Using cache
---> 874bd2476b2f
Step 13/17 : RUN cd /go/manager-api/build-tools && lua schema-sync.lua > /go/manager-api/schema.json && cd /go/manager-api/ && rm -rf /go/manager-api/build-tools/
---> Running in 5b50cda236c4
Removing intermediate container 5b50cda236c4
---> 6c9e7905c54d
Step 14/17 : ADD ./dist /go/manager-api
ADD failed: stat /var/lib/docker/tmp/docker-builder690428283/dist: no such file or directory
```
@juzhiyuan
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org