-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge prior to release v.1.1.0 (#10)
* Docker container with simulator * Changes with docker files. Can now use docker-compose up on the simulator itself so the other containers will not be included. * The simulator container will now also be available inside the os2Iot container. Still available from the simulator as well. Since they both have to use port 8000, they can't be used in the same time. * Changed port number * rename folder from Simulator to simulator Co-authored-by: August Andersen <[email protected]> Co-authored-by: augusthjerrild <[email protected]>
- Loading branch information
1 parent
986a77a
commit bb00ae8
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM ubuntu | ||
|
||
RUN apt-get update && apt-get install make | ||
|
||
RUN apt-get update && apt-get install git -y | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install golang -y | ||
|
||
RUN apt-get install ca-certificates -y | ||
|
||
RUN git clone https://github.com/UniCT-ARSLab/LWN-Simulator.git | ||
|
||
WORKDIR /LWN-Simulator | ||
|
||
RUN make install-dep | ||
|
||
CMD make run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
os2iot-lorawanSimulator: | ||
image: "os2iot-lorawan_simulator" | ||
build: | ||
context: "./" | ||
dockerfile: "Dockerfile" | ||
ports: | ||
- "8768:8000" |