Android Docker attempt to shrink image

Do not install apt recommended packages
Show upgraded packages on Android Gitlab CI Dockerfile
This commit is contained in:
Gioacchino Mazzurco 2021-12-01 08:32:09 +01:00
parent a1a8bf1408
commit 475d8ffc11
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 3 additions and 3 deletions

View File

@ -27,12 +27,12 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y && apt-get clean
RUN apt-get install -y -qq \
RUN apt-get install --no-install-recommends --assume-yes --quiet \
bash build-essential bzip2 cmake curl chrpath doxygen \
git p7zip python qt5-default qttools5-dev tclsh unzip wget zip
# Dependencies to create Android pkg
RUN apt-get install -y -qq \
RUN apt-get install --no-install-recommends --assume-yes --quiet \
openjdk-8-jre openjdk-8-jdk openjdk-8-jdk-headless gradle
ARG FRESHCLONE=0

View File

@ -1,7 +1,7 @@
ARG ANDROID_NDK_ARCH=arm
FROM registry.gitlab.com/retroshare/retroshare:android_${ANDROID_NDK_ARCH}_base
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get update -y && apt-get upgrade --assume-yes --quiet --show-upgraded
ARG REPO_URL=https://gitlab.com/RetroShare/RetroShare.git
ARG REPO_BRANCH=master