[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [sysadmin/ci-tooling] system-images/ubuntu-1604-craft: Setup a new Docker image, based on Ubuntu 16.
From:       Ben Cooksley <null () kde ! org>
Date:       2018-09-01 2:19:54
Message-ID: E1fvvVy-0002cl-IT () code ! kde ! org
[Download RAW message or body]

Git commit 41a7d3d829523ea8da090c8737943f92e19401c3 by Ben Cooksley.
Committed on 01/09/2018 at 02:19.
Pushed by bcooksley into branch 'master'.

Setup a new Docker image, based on Ubuntu 16.04 for Craft's Linux builds

A  +40   -0    system-images/ubuntu-1604-craft/Dockerfile

https://commits.kde.org/sysadmin/ci-tooling/41a7d3d829523ea8da090c8737943f92e19401c3

diff --git a/system-images/ubuntu-1604-craft/Dockerfile \
b/system-images/ubuntu-1604-craft/Dockerfile new file mode 100644
index 0000000..6544ba2
--- /dev/null
+++ b/system-images/ubuntu-1604-craft/Dockerfile
@@ -0,0 +1,40 @@
+FROM ubuntu:16.04
+
+LABEL Description="KDE Ubuntu 16.04 Base for use with Craft"
+MAINTAINER KDE Sysadmin <sysadmin@kde.org>
+
+# Start off as root
+USER root
+
+# Make sure we are fully up to date to start with and install our core operational \
requirements +RUN apt-get update && apt-get install -y software-properties-common \
python-software-properties && add-apt-repository -y ppa:openjdk-r/ppa +RUN apt-get \
update && apt-get upgrade -y && apt-get install -y openssh-server \
openjdk-8-jre-headless +
+# Now install the general dependencies we need for builds
+RUN apt-get install -y \
+  # General requirements for building KDE software
+  build-essential cmake3 git-core \
+  # General requirements for building other software
+  automake \
+  # Needed for some frameworks
+  bison gettext \
+  # Qt and KDE Build Dependencies
+  gperf libasound2-dev libatkmm-1.6-dev libbz2-dev libcairo-perl libcap-dev \
libcups2-dev libdbus-1-dev \ +  libdrm-dev libegl1-mesa-dev libfontconfig1-dev \
libfreetype6-dev libgcrypt11-dev libgl1-mesa-dev \ +  libglib-perl libgsl0-dev \
libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev \ +  libgtk2-perl libjpeg-dev \
libnss3-dev libpci-dev libpng12-dev libpulse-dev libssl-dev \ +  libtiff5-dev \
libudev-dev libwebp-dev flex \ +  # Mesa libraries for everything to use
+  libx11-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-util0-dev libxcb1-dev \
libxcomposite-dev libxcursor-dev \ +  libxdamage-dev libxext-dev libxfixes-dev \
libxi-dev libxrandr-dev libxrender-dev libxss-dev libxtst-dev mesa-common-dev  +
+# Setup a user account for everything else to be done under
+RUN useradd -d /home/appimage/ -u 1000 --user-group --create-home -G video appimage
+# Make sure SSHD will be able to startup
+RUN mkdir /var/run/sshd/
+# Get locales in order
+RUN locale-gen en_US en_US.UTF-8 en_NZ.UTF-8
+
+# We want to run SSHD so that Jenkins can remotely connect to this container
+EXPOSE 22
+CMD ["/usr/sbin/sshd", "-D"]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic