Public Repository

Last pushed: a year ago
Short Description
Repo: https://github.com/taka-wang/azure-iot-gateway-sdk
Full Description

Dockerfile

FROM ubuntu:14.04
MAINTAINER Taka Wang

ENV GATEWAY_REPO https://github.com/taka-wang/azure-iot-gateway-sdk.git
ENV COMMIT_ID develop

RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        build-essential \
        ca-certificates \
        cmake \
        curl \
        git \
        libcurl4-openssl-dev \
        libglib2.0-dev \
        libssl-dev \
        uuid-dev \
        valgrind \
    && rm -rf /var/lib/apt/lists/*

ENTRYPOINT rm -rf /gateway && \
           git clone ${GATEWAY_REPO} /gateway && \
           git -C /gateway checkout ${COMMIT_ID} && \
           git -C /gateway submodule update --init --recursive && \
           cd /gateway && \
           mkdir build && \
           cd build && \
           cmake .. && \
           make && \
           ./samples/hello_world/hello_world_sample ../samples/hello_world/src/hello_world_lin.json && \
           cat log.txt
Docker Pull Command
Owner
takawang