WIP: back to stretch

parent e329ba8c
Pipeline #3803 passed with stages
in 18 minutes and 49 seconds
FROM debian:buster
FROM debian:stretch-slim
# buster brings opendjk-11 which sdkmanager is currently not compatible with
# see https://stackoverflow.com/q/46402772
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
......
......@@ -15,6 +15,9 @@ echo "path-exclude=/usr/share/doc/*" >> /etc/dpkg/dpkg.cfg.d/01_nodoc
apt-get update
apt-get -y upgrade
# install of default-jdk-headless fails otherwise on *-slim image
mkdir -p /usr/share/man/man1
# install Debian packages
apt-get install -y --no-install-recommends \
git \
......@@ -32,8 +35,8 @@ rm -rf /var/lib/apt/lists/*
# Android Part #
################
# Install Android SDK Manager (tools 26.1.1)
wget --no-verbose -O tools.zip https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
# Install Android SDK Manager
wget --no-verbose -O tools.zip https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip tools.zip
rm tools.zip
mkdir ${ANDROID_HOME}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment