github.com/alloyci/alloy-runner@v1.0.1-0.20180222164613-925503ccafd6/dockerfiles/ci/Dockerfile (about)

     1  FROM golang:1.8
     2  
     3  # Install required dependencies
     4  RUN apt-get update -yq
     5  RUN apt-get install -yq locales make xz-utils \
     6                          ruby ruby-dev python-pip \
     7                          dpkg-sig createrepo rpm \
     8                          zip libffi-dev
     9  
    10  # Set default locale for the environment
    11  RUN echo "en_US UTF-8" > /etc/locale.gen; \
    12      locale-gen en_US.UTF-8
    13  
    14  ENV LANG=en_US.UTF-8
    15  ENV LANGUAGE=en_US:en
    16  ENV LC_ALL=en_US.UTF-8
    17  
    18  # Install docker client
    19  RUN wget -q https://get.docker.com/builds/Linux/x86_64/docker-1.13.1.tgz -O /tmp/docker.tar.gz; \
    20      tar -xzf /tmp/docker.tar.gz -C /tmp/; \
    21      cp /tmp/docker/docker* /usr/bin; \
    22      chmod +x /usr/bin/docker*; \
    23      rm -rf /tmp/*
    24  
    25  COPY Makefile /tmp/
    26  RUN cd /tmp; \
    27      make deps package-deps packagecloud-deps