mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2024-12-20 05:28:23 +00:00
Merge branch 'master' of https://github.com/OpenMTC/OpenMTC
This commit is contained in:
commit
a8e017f218
@ -1,5 +1,8 @@
|
||||
services:
|
||||
- docker
|
||||
addons:
|
||||
apt:
|
||||
update: true
|
||||
before_script:
|
||||
- sudo apt install qemu-user-static
|
||||
- "./create-binary-docker backend"
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user