Skip to content
Snippets Groups Projects
Commit 34bb3505 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

Merge branch 'update_flutter'

parents 81201816 5940378d
No related branches found
No related tags found
No related merge requests found
Pipeline #6330 passed with stage
in 3 minutes and 11 seconds
......@@ -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
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 /
......
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