Stage some builds in separate container to reduce overall image size.
This commit is contained in:
parent
23a2386cb8
commit
d794774cc9
4 changed files with 27 additions and 17 deletions
|
@ -1,20 +1,19 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:debian
|
||||
|
||||
ENV GRADLE_VERSION 8.3
|
||||
RUN apt install -y build-essential 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
|
||||
RUN apt-get install -y build-essential
|
||||
|
||||
RUN apt install -y fonts-liberation libgtk-4-1 libgbm1 libu2f-udev libvulkan1 xdg-utils gradle
|
||||
|
||||
RUN apt-get install -y nasm
|
||||
RUN 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
|
||||
|
||||
WORKDIR /root/.ssh
|
||||
|
||||
|
||||
# Precache SSH Host Keys
|
||||
RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
|
||||
RUN ssh-keyscan -p 1212 git.zontreck.com >> /root/.ssh/known_hosts
|
||||
|
||||
|
||||
# Set up needed git and extra build components
|
||||
|
||||
RUN git config --global user.name "zontreck"
|
||||
RUN git config --global user.email "tarapiccari@gmail.com"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue