Created
August 14, 2017 10:55
-
-
Save chgeuer/3a67779ad78060a2fd1bf970b804ff95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:16.04 | |
| WORKDIR /root | |
| RUN apt-get -y update \ | |
| && apt-get -y install sudo \ | |
| && apt-get -y install git \ | |
| && apt-get -y install cmake \ | |
| && apt-get -y install software-properties-common \ | |
| && apt-get -y install build-essential \ | |
| && apt-get -y install curl \ | |
| && apt-get -y install libcurl4-openssl-dev \ | |
| && apt-get -y install libssl-dev \ | |
| && apt-get -y install uuid-dev \ | |
| && add-apt-repository -y ppa:jonathonf/python-3.6 \ | |
| && apt-get -y update \ | |
| && apt-get -y install python3.6 \ | |
| && git clone --recursive https://github.com/Azure/azure-iot-sdk-python.git \ | |
| && cd azure-iot-sdk-python/build_all/linux \ | |
| && sed --in-place -- 's/3.5/3.6/g' ~/azure-iot-sdk-python/c/build_all/linux/build.sh \ | |
| && ./setup.sh --python-version 3.6 \ | |
| && ./build.sh --build-python 3.6 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generates error