docker for kx3 utils

FROM ubuntu:16.04
MAINTAINER tim@sy-edm.com

#Purpose of this project is test KX3 util
#by adding i386 lib references
#It will pull the elecraft kx3 utility into /elecraft
#
#Suggested Build:
#    docker -t test/kx3:1.0 dockerfile
#
#Suggested Run:
#    docker run -it test/kx3:1.0
run apt-get update && \
    apt-get install wget -y

run dpkg --add-architecture i386 && \
    apt-get update && \
    mkdir /elecraft && \
    chdir /elecraft && \
    wget http://www.elecraft.com/software/KX3/KX3UtilityLINUX_1_16_6_25.tgz && \
    tar -zxvf KX3UtilityLINUX_1_16_6_25.tgz && \
    apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386