First time here? Check our help page!
1

Setting up BuildStockBatch to run on windows

I'm having some issues getting BuildStockBatch up and running. I've followed the directions here to run locally though docker.

I use the command 'docker build .' within the BuildStockBatch directory and things seem to work fine until 4/6 within Dockerfile which is:

RUN sudo apt install -y -V ca-certificates lsb-release && \
    wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb && \
    sudo apt install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb && \
    sudo apt update && \
    sudo apt install -y -V libarrow-dev libarrow-glib-dev libarrow-dataset-dev libparquet-dev libparquet-glib-dev

I get the error

failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c sudo apt install -y -V ca-certificates lsb-release &&     wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb &&     sudo apt install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb &&     sudo apt update &&     sudo apt install -y -V libarrow-dev libarrow-glib-dev libarrow-dataset-dev libparquet-dev libparquet-glib-dev]: runc did not terminate sucessfully

Based on some research I'm wondering if the reference to bintray is out of date. any guidance on this would be much appreciated.

thanks.

willyJohan's avatar
1.5k
willyJohan
asked 2022-03-01 17:30:53 -0500, updated 2022-03-01 17:32:03 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

If you are running buildstockbatch locally only, you don't need to run docker build .. That is only required to run on AWS batch and is handled "under the hood".

Unfortunately, I have confirmed that the AWS batch version is broken right now. We'll add that to our issue list.

nmerket's avatar
71
nmerket
answered 2022-03-01 17:52:22 -0500
edit flag offensive 0 remove flag delete link

Comments

@nmerket thanks for the info. So how can I run buildstockbatch locally then? what is the command to launch a run from a particular project definition file?

willyJohan's avatar willyJohan (2022-03-01 18:01:50 -0500) edit

Did you see the documentation on running a project?

shorowit's avatar shorowit (2022-03-01 18:11:52 -0500) edit

@shorowit I did but that calls for using the command "buildstock_docker" which i assume will be different if I'm not using docker (assumption possibly confirmed when i try 'buildstock_docker --help', or 'buildstock -- help' and I just get an error)

willyJohan's avatar willyJohan (2022-03-01 18:17:52 -0500) edit

You need to have docker installed and it will use docker, but you don't need to build the image yourself like you were trying to do above. It will download and use a prebuilt image. The buildstock_docker command is what you're looking for.

nmerket's avatar nmerket (2022-03-03 10:29:37 -0500) edit

@shorowit and @nmerket I have same issues. But where I should use command buildstock_docker? In powershell? directly phyton...I am confused. I have tried everything without result. I have installed. E+, OpenStudio, Rudy, docker... Thanks for help,Mikk

Mikk's avatar Mikk (2022-04-22 12:29:05 -0500) edit
add a comment see more comments