Skip to content

v2.0-rc2 Build docker image error. #615

Description

@Caelebs

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirements
  • Feature or performance improvement
  • Other

Bug

  • Which version of Apache APISIX Dashboard, OS, and Browser?

Failed to build docker image based on the current v2.0-rc2 version. The error message is as follows

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 8e282779783e
lua: ./apisix/plugins/api-breaker.lua:25: attempt to index field 'shared' (a nil value)
stack traceback:
	./apisix/plugins/api-breaker.lua:25: in main chunk
	[C]: in function 'require'
	schema-sync.lua:128: in main chunk
	[C]: ?
The command '/bin/sh -c 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/' returned a non-zero code: 1

Commands used to build the image docker build -t apisix-manager-api:v2.0-rc2 .
Dashboard-manager-api version v2.0-rc2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions