Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flutter-android
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker images
flutter
flutter-android
Compare revisions
23074ca4e897ece48db5e395cf28f54704674c63 to ea5f34e29b00256fc4d67f16eb39c7229902c275
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
docker-images/flutter/flutter-android
Select target project
No results found
ea5f34e29b00256fc4d67f16eb39c7229902c275
Select Git revision
Swap
Target
docker-images/flutter/flutter-android
Select target project
docker-images/flutter/flutter-android
1 result
23074ca4e897ece48db5e395cf28f54704674c63
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
use flutter user
· 7a8a4bdb
Andri Joos
authored
4 months ago
7a8a4bdb
remove bundletool
· c46c2104
Andri Joos
authored
4 months ago
c46c2104
update image server
· ea5f34e2
Andri Joos
authored
4 months ago
ea5f34e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-2
4 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+10
-5
10 additions, 5 deletions
Dockerfile
with
14 additions
and
7 deletions
.gitlab-ci.yml
View file @
ea5f34e2
include
:
-
project
:
docker-images/templates
ref
:
master
file
:
images
.gitlab-ci.yml
file
:
docker_hub
.gitlab-ci.yml
build
:
extends
:
.build_image_job_template
variables
:
DOCKER_BUILDX_PLATFORMS
:
linux/amd64
IMAGE_NAME
:
$IMAGE_SERVER/flutter:3.24.0-android
TAG_SUFFIX
:
android
IMAGE_BASENAME
:
${IMAGE_PREFIX}/flutter
IMAGE_NAME
:
${IMAGE_BASENAME}:3.24.0-${TAG_SUFFIX},${IMAGE_BASENAME}:3.24-${TAG_SUFFIX},${IMAGE_BASENAME}:3-${TAG_SUFFIX}
This diff is collapsed.
Click to expand it.
Dockerfile
View file @
ea5f34e2
...
...
@@ -21,9 +21,7 @@ RUN apt update \
&&
mkdir
-p
$TMP_DEPENDENCIES_DIR
\
&&
wget
"https://dl.google.com/android/repository/commandlinetools-linux-
${
CMDLINETOOLS_VERSION
}
_latest.zip"
-O
$CMDLINETOOLS_ZIP
\
&&
unzip
-q
$CMDLINETOOLS_ZIP
-d
$TMP_DIR
\
&&
mv
$TMP_DIR
/cmdline-tools/
*
$CMDLINETOOLS_DIR
\
&&
mkdir
-p
${
APP_DIR
}
\
&&
wget
"https://github.com/google/bundletool/releases/download/
${
BUNDLETOOL_VERSION
}
/bundletool-all-
${
BUNDLETOOL_VERSION
}
.jar"
-O
${
BUNDLETOOL_FILE
}
&&
mv
$TMP_DIR
/cmdline-tools/
*
$CMDLINETOOLS_DIR
FROM
andrijoos/flutter:3.24.0
...
...
@@ -36,9 +34,16 @@ ENV ANDROID_HOME=$ANDROID_HOME
COPY
--from=download $DEPENDENCY_DIR /
RUN
apk add
--no-cache
openjdk17-jdk
\
USER
root
RUN
apk add
--no-cache
openjdk17-jdk libgcc
\
&&
rm
-rf
/tmp/
*
\
&&
yes
"y"
| flutter doctor
--android-licenses
\
&&
chown
-R
flutter:flutter
${
ANDROID_HOME
}
\
&&
chown
-R
flutter:flutter /tmp
USER
flutter
RUN
yes
"y"
| flutter doctor
--android-licenses
\
&&
dart
--disable-analytics
\
&&
flutter config
--no-analytics
--enable-android
\
&&
flutter precache
--universal
--android
\
...
...
This diff is collapsed.
Click to expand it.