echo `ifconfig $(netstat -nr | grep -e default -e "^0\.0\.0\.0" | head -1 | awk '{print $NF}') | grep -e "inet " | sed -e 's/.*inet //' -e 's/ .*//' -e 's/.*\://'`
This file contains hidden or 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
# Derive from Nordic's image, SDK version 2.5 | |
FROM nordicplayground/nrfconnect-sdk:v2.5-branch | |
# Update the distro | |
RUN apt-get -y update | |
# Install git and GDB | |
RUN apt-get -y install git gdb-multiarch | |
# Create the workspace folder | |
RUN mkdir /workdir/workspace |