buildenvironments (linux)

Published 2024-11-14 14:55:26 -07:00 by zontreck in AriasCreations/BuildEnvironments

Installation

docker pull git.zontreck.com/ariascreations/buildenvironments:linux
sha256:fa6531d11f24022926237124da62ee857fa9f962e4596c84ff8a61e4c15bfab2

Image Layers

ADD rootfs.tar.xz / # buildkit
CMD ["bash"]
LABEL author=Tara Piccari maintainer=tarapiccari@gmail.com
SHELL [/bin/bash -c]
ENV HOME=/root
ENV DOCKER=1
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
USER root
WORKDIR /
ENV DEBIAN_FRONTEND=noninteractive
RUN /bin/bash -c echo "LC_ALL=en_US.UTF-8" >> /etc/environment # buildkit
RUN /bin/bash -c echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen # buildkit
RUN /bin/bash -c echo "LANG=en_US.UTF-8" >> /etc/locale.conf # buildkit
RUN /bin/bash -c apt update; apt-get upgrade -y # buildkit
RUN /bin/bash -c apt-get install -y rsync zip unzip file git locales # buildkit
RUN /bin/bash -c locale-gen en_US.UTF-8 # buildkit
ENV GRADLE_VERSION=8.3
RUN /bin/bash -c apt-get install -y build-essential && apt-get clean -y # buildkit
RUN /bin/bash -c apt-get install -y cmake ninja-build openjdk-17-jdk nasm git curl wget openjdk-17-jre clang pkg-config libgtk-3-dev lldb libglu1-mesa libpulse0 cargo python3-dev libffi-dev libssl-dev apt-utils fonts-liberation libgtk-4-1 libgbm1 libu2f-udev libvulkan1 xdg-utils gradle nasm mercurial && apt-get clean -y # buildkit
RUN /bin/bash -c apt-get install -y --no-install-recommends devscripts build-essential wget curl git build-essential autotools-dev autoconf bison bsdmainutils flex fontforge gawk gcc gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 gettext libacl1-dev libasound2-dev libfontconfig-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls28-dev libgtk-3-dev libice-dev libkrb5-dev libncurses-dev libopenal-dev libosmesa6-dev libpcap-dev libpulse-dev libsane-dev libsdl2-dev libssl-dev libstdc++-11-dev libudev-dev libvulkan-dev libx11-dev libxcomposite-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxt-dev libxxf86vm-dev linux-libc-dev ocl-icd-opencl-dev patch perl sharutils unixodbc-dev x11proto-xinerama-dev && apt clean -y # buildkit
WORKDIR /root/.ssh
RUN /bin/bash -c ssh-keyscan github.com >> /root/.ssh/known_hosts # buildkit
RUN /bin/bash -c ssh-keyscan -p 1212 git.zontreck.com >> /root/.ssh/known_hosts # buildkit
RUN /bin/bash -c git config --global user.name "zontreck" # buildkit
RUN /bin/bash -c git config --global user.email "tarapiccari@gmail.com" # buildkit
WORKDIR /
ENV ANDROID_HOME=/opt/android-sdk-linux
ENV ANDROID_SDK_VER=11076708
ENV ANDROID_SDK_ROOT=/opt/android-sdk-linux
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/android-sdk-linux/cmdline-tools:/opt/android-sdk-linux/cmdline-tools/bin:/opt/android-sdk-linux/platform-tools
COPY /opt/android-sdk-linux /opt/android-sdk-linux # buildkit
RUN /bin/bash -c mkdir -p $ANDROID_HOME/licenses # buildkit
RUN /bin/bash -c yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager --licenses --sdk_root=${ANDROID_SDK_ROOT} # buildkit
RUN /bin/bash -c mkdir -p $HOME/.android && mkdir -pv $HOME/app && touch $HOME/.android/repositories.cfg # buildkit
WORKDIR /root
RUN /bin/bash -c curl -s "https://get.sdkman.io" | bash # buildkit
COPY /packages.txt /root/packages.txt # buildkit
RUN /bin/bash -c $ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --update && while read -r pkg; do PKGS="${PKGS}${pkg} "; done < $HOME/packages.txt && $ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=${ANDROID_SDK_ROOT} $PKGS && rm $HOME/packages.txt # buildkit
RUN /bin/bash -c source "${HOME}/.sdkman/bin/sdkman-init.sh" && sdk install gradle ${GRADLE_VERSION} # buildkit
WORKDIR /
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/android-sdk-linux/cmdline-tools:/opt/android-sdk-linux/cmdline-tools/bin:/opt/android-sdk-linux/platform-tools:/flutter/bin
COPY /flutter /flutter # buildkit
RUN /bin/bash -c curl -sO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && dpkg -i google-chrome-stable_current_amd64.deb && rm google-chrome*.deb # buildkit
RUN /bin/bash -c chown -R root:root /flutter # buildkit
RUN /bin/bash -c /flutter/bin/flutter --disable-analytics # buildkit
RUN /bin/bash -c /flutter/bin/flutter doctor # buildkit
RUN /bin/bash -c /flutter/bin/flutter precache # buildkit
RUN /bin/bash -c apt-get install -y python3-pip # buildkit
RUN /bin/bash -c python3 -m pip config set global.break-system-packages true # buildkit
WORKDIR /
RUN /bin/bash -c python3 -m pip install --upgrade pip # buildkit
RUN /bin/bash -c pip3 install appimage-builder # buildkit
RUN /bin/bash -c wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool # buildkit
RUN /bin/bash -c cd /opt/; chmod +x appimagetool; sed -i 's|AI\x02|\x00\x00\x00|' appimagetool; ./appimagetool --appimage-extract # buildkit
RUN /bin/bash -c mv /opt/squashfs-root /opt/appimagetool.AppDir # buildkit
RUN /bin/bash -c ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool # buildkit
RUN /bin/bash -c apt-get install -y squashfs-tools zsync appstream # buildkit
ENV PUB=NAN
ENV AGENT=NAN
WORKDIR /
RUN /bin/bash -c curl -sO https://ci.zontreck.com/jnlpJars/agent.jar # buildkit
WORKDIR /
ADD ./entrypoint.sh /entrypoint.sh # buildkit
RUN /bin/bash -c chmod +x /entrypoint.sh # buildkit
ENTRYPOINT ["/bin/bash" "/entrypoint.sh"]

Labels

Key Value
author Tara Piccari
maintainer tarapiccari@gmail.com
Details
Container
2024-11-14 14:55:26 -07:00
5
OCI / Docker
linux/amd64
4.5 GiB
Versions (13) View all
jenkins 2024-11-14
nextcloud 2024-11-14
dindagent 2024-11-14
archdev 2024-11-14
arch 2024-11-14