Skip to content

Commit

Permalink
fix device simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik committed Feb 3, 2021
1 parent 7566397 commit b6927d5
Show file tree
Hide file tree
Showing 4 changed files with 615 additions and 122 deletions.
5 changes: 2 additions & 3 deletions device-simulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM alpine:3.12 AS build

RUN apk add --no-cache curl git build-base gcc linux-headers patch
RUN git clone --recursive https://github.com/iotivity/iotivity-lite.git
COPY ./patches/devsim.diff /devsim.diff
RUN (cd /iotivity-lite && patch -p1 < /devsim.diff)
RUN git clone --recursive -b plgd.dev https://github.com/iotivity/iotivity-lite.git
COPY ./src/ /iotivity-lite/
RUN make -C /iotivity-lite/port/linux CLOUD=1 SECURE=1 DEBUG=1 MNT=1 cloud_server

FROM alpine:3.12 AS service
Expand Down
119 changes: 0 additions & 119 deletions device-simulator/patches/devsim.diff

This file was deleted.

Loading

0 comments on commit b6927d5

Please sign in to comment.