summaryrefslogtreecommitdiffstats
path: root/arch/DockerBuildEnvironment
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-20 17:08:32 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2021-09-29 06:38:40 +0000
commit018f946ee70600993c60a74046f417ca05bdb41b (patch)
tree37829ad4f8af4005172148ee78ab38b67328cecb /arch/DockerBuildEnvironment
parent2bcda9ee7da7582ee0e550a71b9f865cac76dce2 (diff)
downloadtde-packaging-018f946ee70600993c60a74046f417ca05bdb41b.tar.gz
tde-packaging-018f946ee70600993c60a74046f417ca05bdb41b.zip
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/DockerBuildEnvironment')
-rw-r--r--arch/DockerBuildEnvironment/Dockerfile16
-rw-r--r--arch/DockerBuildEnvironment/README.md23
2 files changed, 39 insertions, 0 deletions
diff --git a/arch/DockerBuildEnvironment/Dockerfile b/arch/DockerBuildEnvironment/Dockerfile
new file mode 100644
index 000000000..d657a60b0
--- /dev/null
+++ b/arch/DockerBuildEnvironment/Dockerfile
@@ -0,0 +1,16 @@
+FROM archlinux/base
+
+RUN echo "[docker-dev]" >> /etc/pacman.conf
+RUN echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf
+RUN echo "Server = http://repo.nasutek.com/arch/contrib/docker-dev/" >> /etc/pacman.conf
+
+RUN pacman -Syyu --noconfirm
+RUN pacman-db-upgrade
+
+RUN pacman -S --noconfirm base-devel sudo grep wget xscreensaver libxss libgphoto2 fribidi sane xmms2 alsa-plugins alsa-tools alsa-utils audiofile glib2 libmad libogg libvorbis pulseaudio-alsa avahi nss-mdns dbus libraw1394 libxtst lm_sensors ttf-dejavu ttf-freefont xorg-server xorg-xinit openssl-1.0 aspell hspell jasper libcups libidn libutempter libxcomposite libxslt openexr pcre xorg-iceauth xorg-xmessage xorg-xprop xorg-xset xorg-xsetroot glu taglib gtk3 dbus-glib speex wireless_tools wpa_supplicant boost boost-libs gnokii curl libraw pkgconfig autoconf imake cmake python2 imlib automake libtool libxkbfile smbclient rpcsvc-proto xorg-bdftopcf libiodbc libxi mariadb unixodbc libmng xorg-xrandr libxft flex subversion mplayer exiv2 doxygen
+RUN pacman -S --noconfirm htdig lcms postgresql-9.6
+
+RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
+
+RUN useradd -m dev
+RUN gpasswd -a dev wheel
diff --git a/arch/DockerBuildEnvironment/README.md b/arch/DockerBuildEnvironment/README.md
new file mode 100644
index 000000000..325616f3d
--- /dev/null
+++ b/arch/DockerBuildEnvironment/README.md
@@ -0,0 +1,23 @@
+# Trinity Build Environment Docker Image
+
+## How to build
+All you need to do is run
+```
+docker build
+```
+
+in this directory and it will create an image for building Trinity with.
+
+## Using the docker image
+Here is an example way to run docker for building trinity
+```
+docker run -it --rm -v `pwd`:/tmp/src <finalimageid>
+```
+
+Once running just run
+```
+su - dev
+```
+To enter a non-root user
+
+This will mount your source directory in /tmp/src where you can run ./build.