Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker for android #6

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Docker for android #6

wants to merge 7 commits into from

Conversation

sevabakutov
Copy link

No description provided.

@sevabakutov sevabakutov changed the title added dockerfile for android dev; created scripts to build android app Docker for android Jan 20, 2025
set -eux

# OpenJDK
if ! command -v java >/dev/null 2>&1; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't install java through package manager once?

echo "tauri-cli v2 already installed."
else
echo "Installing tauri-cli v2..."
cargo install tauri-cli --version "^2.0.0" --locked
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a part of image

MISSING_TARGETS=()

for target in aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android; do
if ! rustup target list --installed | grep -q "^${target}\$"; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add all target in image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants