FROM ubuntu:artful

RUN apt-get -qq update && \
    apt-get install -y sudo docker.io git make btrfs-tools libdevmapper-dev libgpgme-dev libostree-dev

ADD https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz /tmp

RUN tar -C /usr/local -xzf /tmp/go1.8.3.linux-amd64.tar.gz && \
    rm /tmp/go1.8.3.linux-amd64.tar.gz && \
    ln -s /usr/local/go/bin/* /usr/local/bin/

FROM ubuntu:artful

RUN apt-get -qq update && \
    apt-get install -y sudo docker.io git make btrfs-tools libdevmapper-dev libgpgme-dev libostree-dev

ADD https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz /tmp

RUN tar -C /usr/local -xzf /tmp/go1.9.2.linux-amd64.tar.gz && \
    rm /tmp/go1.9.2.linux-amd64.tar.gz && \
    ln -s /usr/local/go/bin/* /usr/local/bin/

Update Go from 1.8.3 to 1.9.2
Update Go from 1.8.3 to 1.9.2

Signed-off-by: Miloslav Trmač <9c008e38982a5397deb855345fb164f0558459ae@redhat.com>
