This commit is contained in:
Christian Klopp 2018-06-12 15:01:08 +02:00
commit a8e017f218
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,8 @@
services:
- docker
addons:
apt:
update: true
before_script:
- sudo apt install qemu-user-static
- "./create-binary-docker backend"

View File

@ -203,8 +203,6 @@ EOF
The state will be automatically forwarded to OpenMTC. Therefore you should see something like the following in the log:
```
culipe | 172.24.0.6 - - [2018-05-26 17:24:29] "POST / HTTP/1.1" 200 160 0.037561
```
To get the current state at the OpenMTC Backend use this:
```
curl -X "GET" localhost:18000/~/mn-cse-1/onem2m/CUL868IPE/FS20_ST3_16108_1/switch/latest -s | jq '."m2m:cin".con'

View File

@ -1,4 +1,4 @@
docker/sdk-amd64############################################################
############################################################
# Dockerfile for openmtc sdk binary environment
############################################################
@ -11,7 +11,7 @@ ENV MOD_NAME=sdk
MAINTAINER rst/tgu
# update pip to latest version
RUN pip install --upgrade pip
RUN pip install --upgrade pip setuptools
# install openmtc dependencies
COPY tmp/$MOD_NAME-dependencies.txt /tmp/requirements.txt