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

Unable to build balenaDash per getting started guide #39

Open
StuartCarrison opened this issue Mar 30, 2019 · 1 comment
Open

Unable to build balenaDash per getting started guide #39

StuartCarrison opened this issue Mar 30, 2019 · 1 comment

Comments

@StuartCarrison
Copy link

Step 1/7 : FROM petrosagg/resin-wpe:raspberrypi3-30c7465
---> 4b90e1c6a06a
Step 2/7 : COPY udev-rules/ /etc/udev/rules.d/
Using cache
---> 801296c43c60
Step 3/7 : COPY wpe-init /wpe-init
Using cache
---> 56c77d01e232
Step 4/7 : RUN chmod +x wpe-init
---> Running in 12b9f22eaa8c
panic: standard_init_linux.go:175: exec user process caused "no such file or directory" [recovered]
panic: standard_init_linux.go:175: exec user process caused "no such file or directory"

goroutine 1 [running, locked to thread]:
panic(0x79d920, 0xc420136380)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc420089748)
/tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x79d920, 0xc420136380)
/usr/local/go/src/runtime/panic.go:458 +0x243
github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0xc420089198, 0xc420026098, 0xc420089238)
/tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x18f
github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0xc420057450, 0xb98380, 0xc420136380)
/tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x353
main.glob..func8(0xc42008ca00, 0x0, 0x0)
/tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/main_unix.go:26 +0x66
reflect.Value.call(0x788960, 0x813a88, 0x13, 0x7e6609, 0x4, 0xc420089708, 0x1, 0x1, 0x4ce1e8, 0x7dc460, ...)

    /usr/local/go/src/reflect/value.go:434 +0x5c8

reflect.Value.Call(0x788960, 0x813a88, 0x13, 0xc420089708, 0x1, 0x1, 0x0, 0xc4200896e8, 0x4d71c6)
/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/urfave/cli.HandleAction(0x788960, 0x813a88, 0xc42008ca00, 0x0, 0x0)
/tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x1e0
github.com/urfave/cli.Command.Run(0x7e67d5, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7f7c23, 0x51, 0x0, ...)

    /tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xc3b

github.com/urfave/cli.(*App).Run(0xc4200d8000, 0xc42000c120, 0x2, 0x2, 0x0, 0x0)

    /tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0x611

main.main()

/tmp/tmp.Xj6E6mk6ve/src/github.com/opencontainers/runc/main.go:137 +0xbd6

Removing intermediate container 12b9f22eaa8c
The command '/bin/sh -c chmod +x wpe-init' returned a non-zero code: 2

@RickVM
Copy link

RickVM commented Jan 13, 2020

Step 4 seems wrong. You saved wpe-init at /wpe-init and are trying to access it in 4 as wpe-init.
For step 4 try: RUN chmod +x /wpe-init

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

2 participants