aws-samples / aws-iot-securetunneling-localproxy

AWS Iot Secure Tunneling local proxy reference C++ implementation
https://docs.aws.amazon.com/iot/latest/developerguide/what-is-secure-tunneling.html
Apache License 2.0
74 stars 71 forks source link

Dependancies in docker file #16

Closed ashneel1010 closed 4 years ago

ashneel1010 commented 4 years ago

Hi team, I am trying to get the local proxy up and running via the docker file so that I can start finish my POC on AWS IOT.
The docker is failss on the prerequisites stage (2 x screenshots attached ) I've tried to install the prerequisites by running apt install manually in my docker ,however, when I eventually get to step 2 bootstrap.sh does not run. Step 2 Download and install Boost dependency wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz -O /tmp/boost.tar.gz tar xzvf /tmp/boost.tar.gz cd boost_1_69_0 ./bootstrap.sh sudo ./b2 install Screenshot showing errors when running docker image image image

Any ideas what I could do to get this running ?

Thanks

HarshGandhi-AWS commented 4 years ago

Hello @ashneel1010 ,

Manually installing packages on an docker container might get messy. Even if you are able to get through this error, you might encounter another error while installing other dependencies. I would suggest you to continue working with Dockerfile to build an image. You can use this Dockerfile which will help you build an Docker Ubuntu image with local-proxy ready to use. Let me know if you face any problem working with it.

https://github.com/aws-samples/aws-iot-securetunneling-localproxy/blob/master/Dockerfile

Thank you, Harsh Gandhi