Sign inSign up

wenyg/ubuntu16

By wenyg

Updated about 7 years ago

C/C++ project building environment

Image
1

10K+

wenyg/ubuntu16 repository overview

Ubuntu16

This docker image can be used to build C/C++ project.

Third-Party Repositories

None.

Installed Software

  • gcc, g++
  • automake, autoconf
  • libtool, cmake, make
  • dnsutils, curl, git, wget

Hook / Integration

When running this container, you will need to provide a /srv mountpint, which must contain, as its root, a run_in_docker srcipt that is executable. The image weill execute this build script to perform the actual building , running of tests, export, etc.

Dockerfile

Here is the Dockerfile used to build this image:

FROM ubuntu:16.04

ADD sources.list /etc/apt/sources.list

RUN apt-get update && apt-get install -y \
    gcc g++ \
    automake autoconf \
    libtool cmake make \
    curl git dnsutils wget && \
    apt-get clean

WORKDIR /srv
CMD /srv/run_in_docker

sources.list

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

# 预发布软件源,不建议启用
# deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
# deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

Tag summary

Content type

Image

Digest

Size

172.3 MB

Last updated

about 7 years ago

docker pull wenyg/ubuntu16