android/docker: combine CMD invocations into a single line (#448)

android/docker: combine CMD into a single line

 updates tailscale/corp#21644

docker ignores all but the last CMD invocation.  These
have to be combined into a single line.  The clean is
redundant.  We run a clean on the mounted directory
before we kick off make docker-run-build.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
release-branch/1.70
Jonathan Nobels 4 months ago committed by GitHub
parent b9477c64a8
commit 6deb61a20e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@
# The docker image to use for the build environment. Changing this
# will force a rebuild of the docker image. If there is an existing image
# with this name, it will be used.
DOCKER_IMAGE=tailscale-android-build-amd64-2
DOCKER_IMAGE=tailscale-android-build-amd64
DEBUG_APK=tailscale-debug.apk
RELEASE_AAB=tailscale-release.aab

@ -41,11 +41,6 @@ COPY android/gradlew android/gradlew
COPY android/gradle android/gradle
RUN ./android/gradlew
# Build the android app
CMD make clean
CMD make release
# Build the android tv app. We need to bump the version code by 1
# so the AAB is unique.
CMD make bump_version_code
CMD make release-tv
# Build the android app, bump the playstore version code, and make the tv release
CMD make release && make bump_version_code && make release-tv

Loading…
Cancel
Save