Skip to content

Commit

Permalink
Minor clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
gotthardp committed Oct 6, 2017
1 parent df9c68f commit bc21174
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/docker/raspbian.arm7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# docker build -t gotthardp/lorawan-server .
# docker run --restart unless-stopped --detach --name lorawan --hostname lorawan \
# --volume /root/storage:/storage --publish 8081:8080/tcp --publish 1680:1680/udp gotthardp/lorawan-server
FROM tedsluis/raspbian.minimal.arm7
RUN apt-get update && apt-get install -y wget git npm make

Expand All @@ -10,9 +13,9 @@ RUN cd otp_src_20.0/ && ./configure && make && make install
RUN rm otp_src_20.0.tar.gz
RUN rm -R otp_src_20.0/
RUN mkdir lorawan-server
RUN wget https://github.com/gotthardp/lorawan-server/releases/download/v0.4.10/lorawan-server-0.4.10.tar.gz
RUN mv lorawan-server-0.4.10.tar.gz lorawan-server/
RUN cd lorawan-server && tar -zxvf lorawan-server-0.4.10.tar.gz
RUN wget https://github.com/gotthardp/lorawan-server/releases/download/v0.4.12/lorawan-server-0.4.12.tar.gz
RUN mv lorawan-server-0.4.12.tar.gz lorawan-server/
RUN cd lorawan-server && tar -zxvf lorawan-server-0.4.12.tar.gz

# volume for the mnesia database and logs
RUN mkdir -p /storage
Expand Down

0 comments on commit bc21174

Please sign in to comment.