Commit 4abc2a36 authored by Yann Garcia's avatar Yann Garcia
Browse files

Enhance oneM2M platform Dockerfile and .meepctl-repocfg.yaml

parent f5637895
Loading
Loading
Loading
Loading
+3 −1
Changes for go-apps/meep-iot-pltf/tinyiot/Dockerfile: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -64,7 +64,9 @@ WORKDIR /usr/src/app/ACME-tinyIoT-CSE
# The issue here is that applying patch with 
#RUN git checkout 43d4c7a

COPY . /usr/src/app/tinyIoT
COPY ./data /usr/src/app/tinyIoT

RUN cd ./source/server && ./autogen.sh && make

RUN chmod +x entrypoint.sh

+0 −18
Changes for go-apps/meep-iot-pltf/tinyiot/dockerize.sh: 0 added lines, 18 removed lines.
Original line number Diff line number Diff line
#!/bin/bash

# Get full path to script directory
SCRIPT=$(readlink -f "$0")
BASEDIR=$(dirname "$SCRIPT")

echo ""
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo ">>> Dockerizing tinyIoT for oneM2M"
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo ""

# Dockerize demo 
docker build --no-cache --rm -t meep-docker-registry:30001/tinyiot_om2m .
docker push meep-docker-registry:30001/tinyiot_om2m

echo ""
echo ">>> tinyIoT for oneM2M dockerize completed"
+1 −1
Changes for go-apps/meep-iot-pltf/tinyiot/entrypoint.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -60,4 +60,4 @@ sed --in-place "s/MEEP_SANDBOX_NAME/${MEEP_SANDBOX_NAME}/g" acme.ini

sleep 10 # Wait for ETSI MEC Platform up and stable

python3 -m acme
source/server/server