mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
17 lines
608 B
Docker
17 lines
608 B
Docker
|
ARG img_version
|
||
|
FROM godot-fedora:${img_version}
|
||
|
|
||
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
||
|
gcc gcc-c++ java-1.8.0-openjdk-devel ncurses-compat-libs && \
|
||
|
mkdir sdk && cd sdk && \
|
||
|
curl -LO https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip && \
|
||
|
unzip sdk-tools-linux-4333796.zip && \
|
||
|
rm sdk-tools-linux-4333796.zip && \
|
||
|
yes | tools/bin/sdkmanager --licenses && \
|
||
|
tools/bin/sdkmanager ndk-bundle 'build-tools;28.0.3' 'platforms;android-28' 'cmake;3.10.2.4988404'
|
||
|
|
||
|
ENV ANDROID_HOME=/root/sdk/
|
||
|
ENV ANDROID_NDK_ROOT=/root/sdk/ndk-bundle/
|
||
|
|
||
|
CMD /bin/bash
|