From 018f946ee70600993c60a74046f417ca05bdb41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 20 Sep 2021 17:08:32 +0200 Subject: ArchLinux: Take a newer state of pkgbuilds from Michael Manley Clean old long-term not maintained pkgbuilds. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- arch/DockerBuildEnvironment/Dockerfile | 16 ++++++++++++++++ arch/DockerBuildEnvironment/README.md | 23 +++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 arch/DockerBuildEnvironment/Dockerfile create mode 100644 arch/DockerBuildEnvironment/README.md (limited to 'arch/DockerBuildEnvironment') 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 +``` + +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. -- cgit v1.2.1