github.phpd.cn/thought-machine/please@v12.2.0+incompatible/tools/images/ubuntu/Dockerfile (about)

     1  # We prefer Ubuntu 17.10 because it makes the installation of some packages simpler
     2  # and is more up-to-date than 16.04.
     3  # If you want to replicate this image on 16.04 the main difference is UnitTest++
     4  # which you'll need to compile your own copy of - their version is too old (we need v2)
     5  # and has some naming idiosyncrasies which are too hard to support).
     6  FROM ubuntu:artful
     7  MAINTAINER peter.ebden@gmail.com
     8  
     9  # Most dependencies; Python, Java, Clang and Ruby (only used for fpm)
    10  RUN apt-get update && \
    11      apt-get install -y python3.5 python3-dev python3-pip openjdk-8-jdk-headless \
    12      curl unzip git locales pkg-config zlib1g-dev \
    13      clang libunittest++-dev ruby ruby-dev rubygems golint && \
    14      apt-get clean
    15  
    16  # Go
    17  # We can't install this above because the latest available version for Artful is 1.8
    18  # and we require >= 1.9 for various minor features.
    19  RUN curl -fsSL https://dl.google.com/go/go1.10.linux-amd64.tar.gz | tar -xzC /usr/local
    20  RUN ln -s /usr/local/go/bin/go /usr/local/bin/go && ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
    21  
    22  # Locale
    23  RUN locale-gen en_GB.UTF-8
    24  
    25  # fpm
    26  RUN gem install --no-ri --no-rdoc fpm
    27  
    28  # Welcome message
    29  COPY /motd.txt /etc/motd
    30  RUN echo 'cat /etc/motd' >> /etc/bash.bashrc
    31  WORKDIR /tmp