Skip to content
This repository has been archived by the owner on Nov 10, 2018. It is now read-only.

run-builder.sh fails to execute: docker: open .env no such file or directory. #11

Open
booyaa opened this issue Jul 27, 2015 · 2 comments

Comments

@booyaa
Copy link

booyaa commented Jul 27, 2015

This is for the disable-docker-proxy branch:

HypriotOS: root@black-pearl in ~/hypriot/rpi-docker-builder on disable-docker-proxy
$ ./run-builder.sh
+ pwd
+ pwd
+ docker run --rm=true --env-file=.env -v /root/hypriot/rpi-docker-builder/builder.sh:/builder.sh -v /root/hypriot/rpi-docker-builder/pkg-debian:/pkg-debian hypriot/rpi-docker-builder /builder.sh 1.5.0-dev -8-noproxy
docker: open .env: no such file or directory.
See 'docker run --help'.

Here's the steps to reproduce:

git clone https://github.com/hypriot/rpi-docker-builder.git
cd rpi-docker-builder
git checkout disable-docker-proxy
git pull origin disable-docker-proxy
./build.sh
./run-builder.sh
@booyaa
Copy link
Author

booyaa commented Jul 27, 2015

Looks like run-builder.sh is missing the two follow lines (they're in master) before docker run

mkdir -p dist
touch .env

I'll send a PR shortly once I've confirmed fix.

@booyaa
Copy link
Author

booyaa commented Jul 27, 2015

looks like the code at the end of the builder.sh was hardcoded to copy deb and tarball to s3. copying the code from the master version worked (which tests for the existence of AWS creds and dists directory).

Do you guys want a PR for this?

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

No branches or pull requests

1 participant