Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flutter-base
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-base
Compare revisions
e7310e59c0c676545471cd6ceda28f2cbf036aec to 7460e451fd0803c93c8d52b1d960d883f726a219
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-base
Select target project
No results found
7460e451fd0803c93c8d52b1d960d883f726a219
Select Git revision
Branches
arm64
master
Swap
Target
docker-images/flutter/flutter-base
Select target project
docker-images/flutter/flutter-base
1 result
e7310e59c0c676545471cd6ceda28f2cbf036aec
Select Git revision
Branches
arm64
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
add multi platform image
· 9135ee61
Andri Joos
authored
4 months ago
9135ee61
Merge branch 'multi_platform_image'
· 7460e451
Andri Joos
authored
4 months ago
7460e451
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+0
-1
0 additions, 1 deletion
.gitlab-ci.yml
.vscode/tasks.json
+14
-0
14 additions, 0 deletions
.vscode/tasks.json
Dockerfile
+16
-4
16 additions, 4 deletions
Dockerfile
with
30 additions
and
5 deletions
.gitlab-ci.yml
View file @
7460e451
...
...
@@ -16,7 +16,6 @@ include:
"
3.24.5"
:
extends
:
.build_flutter_base
variables
:
DOCKER_BUILDX_PLATFORMS
:
linux/amd64
IMAGE_BASENAME
:
${IMAGE_PREFIX}/flutter
VERSION
:
3.24.5
IMAGE_NAME
:
${IMAGE_BASENAME}:${VERSION},${IMAGE_BASENAME}:3.24,${IMAGE_BASENAME}:3
This diff is collapsed.
Click to expand it.
.vscode/tasks.json
View file @
7460e451
...
...
@@ -13,6 +13,20 @@
"."
,
],
},
{
"label"
:
"buildx build"
,
"command"
:
"docker"
,
"args"
:
[
"buildx"
,
"build"
,
"--build-arg"
,
"FLUTTER_VERSION=${input:flutterVersion}"
,
"--platform"
,
"linux/arm64,linux/amd64"
,
"."
,
],
},
],
"inputs"
:
[
{
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
View file @
7460e451
...
...
@@ -13,11 +13,23 @@ ARG FLUTTER_DIR="$DEPENDENCY_DIR/${FLUTTER_DIR}"
ARG
FLUTTER_DOWNLOAD_FILE="flutter.tar.xz"
RUN
apt update
\
&&
apt
install
-y
wget xz-utils
&&
apt
install
-y
wget xz-utils
git curl unzip
RUN
mkdir
-p
${
FLUTTER_DIR
}
\
&&
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_
${
FLUTTER_VERSION
}
-stable
.tar.xz
-O
${
FLUTTER_DOWNLOAD_FILE
}
\
&&
tar
-xf
${
FLUTTER_DOWNLOAD_FILE
}
--strip-components
=
1
--directory
$FLUTTER_DIR
RUN
mkdir
-p
${
FLUTTER_DIR
}
RUN if
[
"
$(
uname
-m
)
"
=
"x86_64"
]
;
then
\
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_
${
FLUTTER_VERSION
}
-stable
.tar.xz
-O
${
FLUTTER_DOWNLOAD_FILE
}
\
&&
tar
-xf
${
FLUTTER_DOWNLOAD_FILE
}
--strip-components
=
1
--directory
$FLUTTER_DIR
;
\
fi
# Flutter on arch currently has warnings because channel and repository source are not set
RUN if
[
"
$(
uname
-m
)
"
=
"aarch64"
]
;
then
\
git clone https://github.com/flutter/flutter.git
${
FLUTTER_DIR
}
\
&&
cd
${
FLUTTER_DIR
}
\
&&
git fetch origin tag
${
FLUTTER_VERSION
}
\
&&
git checkout tags/
${
FLUTTER_VERSION
}
\
&&
${
FLUTTER_DIR
}
/bin/flutter doctor
;
\
fi
FROM
alpine:3.20.3
...
...
This diff is collapsed.
Click to expand it.