EliteWallet
EliteWallet copied to clipboard
I am trying to build sc.elitewallet.elitewallet using this Dockerfile
# Use Ubuntu as the base image
FROM ubuntu:20.04
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV ANDROID_SDK_ROOT=/opt/android-sdk
ENV FLUTTER_HOME=/opt/flutter
ENV PATH="$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$ANDROID_SDK_ROOT/platform-tools:$FLUTTER_HOME/bin"
# Install required packages including Bash
RUN apt-get update && \
apt-get install -y curl unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jdk-headless clang bison byacc gperf groff bash
# [previous commands for installing Android SDK, NDK, and Flutter]
# Clone the EliteWallet repository
RUN git clone https://github.com/Elite-Labs/EliteWallet.git elite_wallet --branch master && \
cd elite_wallet && \
git submodule update --init --force
# Set the working directory to the cloned repository
WORKDIR /elite_wallet
# Add build commands using Bash
RUN bash ./scripts/build_deps.sh
RUN bash ./scripts/build.sh
# [Optional ENTRYPOINT or CMD]