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 / |
RUN /bin/bash -c apt-get update # buildkit |
RUN /bin/bash -c apt-get upgrade -y # buildkit |
RUN /bin/bash -c apt-get install -y openjdk-17-jdk openjdk-17-jre curl wget moreutils # buildkit |
ENV JENKINS_VERSION=2.485 |
USER root |
WORKDIR / |
RUN /bin/bash -c wget "https://get.jenkins.io/war/$JENKINS_VERSION/jenkins.war" # buildkit |
RUN /bin/bash -c useradd -m -s /bin/bash fakeuser # buildkit |
RUN /bin/bash -c useradd -m -s /bin/bash -d /jenkins jenkins # buildkit |
USER jenkins |
WORKDIR /jenkins |
ENTRYPOINT ["java" "-jar" "/jenkins.war"] |