diff options
author | Slávek Banko <[email protected]> | 2021-09-20 17:08:32 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-09-29 09:27:25 +0200 |
commit | 0ac2945504b4df71d0ac6777b2c956cd4921ad08 (patch) | |
tree | 301eb3b41ae6f4e78a8b5611040ba8d9c13af6dd /arch/DockerBuildEnvironment | |
parent | 318e997cf4d25c5d2e7b4261a6017b653c1fa93c (diff) | |
download | tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.tar.gz tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.zip |
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b)
Diffstat (limited to 'arch/DockerBuildEnvironment')
-rw-r--r-- | arch/DockerBuildEnvironment/Dockerfile | 16 | ||||
-rw-r--r-- | arch/DockerBuildEnvironment/README.md | 23 |
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. |