Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ci-image-android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
briar
ci-image-android
Commits
ef55e89d
Verified
Commit
ef55e89d
authored
Oct 17, 2019
by
Torsten Grote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: back to stretch
parent
e329ba8c
Pipeline
#3803
passed with stages
in 18 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Dockerfile
Dockerfile
+3
-1
install.sh
install.sh
+5
-2
No files found.
Dockerfile
View file @
ef55e89d
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
...
...
install.sh
View file @
ef55e89d
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment