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

     1  FROM ubuntu:bionic
     2  MAINTAINER peter.ebden@gmail.com
     3  
     4  # Most dependencies; Python, Java, Clang and Ruby (only used for fpm)
     5  RUN apt-get update && \
     6      apt-get install -y python3.6 python3-dev python3-pip openjdk-9-jdk-headless \
     7      curl unzip git locales pkg-config zlib1g-dev \
     8      clang libunittest++-dev ruby ruby-dev rubygems golint && \
     9      apt-get clean
    10  
    11  # Go
    12  # We can't install this above because the latest available version for Bionic is 1.8
    13  # and we require >= 1.9 for various minor features.
    14  RUN curl -fsSL https://dl.google.com/go/go1.9.linux-amd64.tar.gz | tar -xzC /usr/local
    15  RUN ln -s /usr/local/go/bin/go /usr/local/bin/go && ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt
    16  
    17  # Locale
    18  RUN locale-gen en_GB.UTF-8
    19  
    20  # fpm
    21  RUN gem install --no-ri --no-rdoc fpm
    22  
    23  # Welcome message
    24  COPY /motd.txt /etc/motd
    25  RUN echo 'cat /etc/motd' >> /etc/bash.bashrc
    26  WORKDIR /tmp