Skip to content

Commit

Permalink
Fixed wrong install dir variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Eichhorn committed Apr 3, 2017
1 parent a2b49e0 commit 4578649
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ RUN cp -f $INSTALL_DIR/packet_forwarder/poly_pkt_fwd/global_conf.json $INSTALL_D
RUN cp ~/ic880a-gateway/start.sh $INSTALL_DIR/bin/
RUN sed -i -e 's/SX1301_RESET_BCM_PIN=25/SX1301_RESET_BCM_PIN=17/g' $INSTALL_DIR/bin/start.sh
CMD echo "{\n\t\"gateway_conf\": {\n\t\t\"gateway_ID\": \"${GATEWAY_EUI}\",\n\t\t\"servers\": [ { \"server_address\": \"router.eu.thethings.network\", \"serv_port_up\": 1700, \"serv_port_down\": 1700, \"serv_enabled\": true } ], \n\t\t\"ref_latitude\": ${GATEWAY_LAT},\n\t\t\"ref_longitude\": ${GATEWAY_LON},\n\t\t\"ref_altitude\": ${GATEWAY_ALT},\n\t\t\"contact_email\": \"${GATEWAY_EMAIL}\",\n\t\t\"description\": \"${GATEWAY_NAME}\" \n\t}\n}" > $INSTALL_DIR/bin/local_conf.json
WORKDIR $INSTALLDIR/bin
WORKDIR $INSTALL_DIR/bin
CMD ./start.sh

Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.

0 comments on commit 4578649

Please sign in to comment.