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
Commits
34bb3505
Commit
34bb3505
authored
7 months ago
by
Andri Joos
Browse files
Options
Downloads
Plain Diff
Merge branch 'update_flutter'
parents
81201816
5940378d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#6330
passed with stage
in 3 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Dockerfile
+5
-6
5 additions, 6 deletions
Dockerfile
with
6 additions
and
7 deletions
.gitlab-ci.yml
+
1
−
1
View file @
34bb3505
...
...
@@ -7,4 +7,4 @@ build:
extends
:
.build_image_job_template
variables
:
DOCKER_BUILDX_PLATFORMS
:
linux/amd64
IMAGE_NAME
:
$IMAGE_SERVER/flutter:3.
19
.0-android
IMAGE_NAME
:
$IMAGE_SERVER/flutter:3.
24
.0-android
This diff is collapsed.
Click to expand it.
Dockerfile
+
5
−
6
View file @
34bb3505
ARG
IMAGE_SERVER
ARG
IMAGE_SERVER
="registry.420joos.dev"
ARG
DEPENDENCY_DIR="/tmp/dependencies"
ARG
ANDROID_HOME="/opt/android"
ARG
BUNDLETOOL_VERSION="1.15.6"
FROM
$IMAGE_SERVER/ubuntu:22.04
as
download
FROM
$IMAGE_SERVER/ubuntu:22.04
AS
download
ARG
DEPENDENCY_DIR
ARG
ANDROID_HOME
...
...
@@ -13,7 +12,7 @@ ARG CMDLINETOOLS_VERSION="11076708"
ARG
CMDLINETOOLS_ZIP="/tmp/cmdline-tools.zip"
ARG
TMP_DIR="/tmp"
ARG
CMDLINETOOLS_DIR="$ANDROID_HOME_DEPENDENCY_DIR/cmdline-tools/latest"
ARG
BUNDLETOOL_VERSION
ARG
BUNDLETOOL_VERSION
="1.17.1"
ARG
APP_DIR="$DEPENDENCY_DIR/app"
ARG
BUNDLETOOL_FILE="${APP_DIR}/bundletool.jar"
...
...
@@ -28,12 +27,12 @@ RUN apt update \
&&
wget
"https://github.com/google/bundletool/releases/download/
${
BUNDLETOOL_VERSION
}
/bundletool-all-
${
BUNDLETOOL_VERSION
}
.jar"
-O
${
BUNDLETOOL_FILE
}
FROM
$IMAGE_SERVER/flutter:3.
19
.0
FROM
$IMAGE_SERVER/flutter:3.
24
.0
ARG
DEPENDENCY_DIR
ARG
ANDROID_HOME
ENV
PATH
"${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/platform-tools"
ENV
PATH
=
"${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/platform-tools"
ENV
ANDROID_HOME=$ANDROID_HOME
COPY
--from=download $DEPENDENCY_DIR /
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment