FROM ubuntu:zesty

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.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/

Update Ubuntu from Zesty to Atful
Update Ubuntu from Zesty to Atful

Zesty is EOL and the repositories are no longer available.

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