diff --git a/Dockerfile b/Dockerfile index 27cd99f..5de3e6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,23 @@ FROM runmymind/docker-android-sdk:latest -# install OS packages -RUN apt-get --quiet update --yes -RUN apt-get --quiet install --yes ruby ruby-dev -# We use this for xxd hex->binary -RUN apt-get --quiet install --yes vim-common -# install FastLane -COPY Gemfile.lock . -COPY Gemfile . -RUN gem update --system -RUN gem install bundles -RUN bundle install +# Installing build tools +RUN apt-get update && \ + apt-get install -y \ + build-essential \ + ruby \ + ruby-dev + +# Installing fastlane +RUN gem install fastlane + +# Installing bundle +RUN gem install bundle + +# Install gradle +RUN wget https://services.gradle.org/distributions/gradle-6.1.1-bin.zip +RUN mkdir /opt/gradle +RUN unzip -d /opt/gradle gradle-6.1.1-bin.zip +RUN export PATH=$PATH:/opt/gradle/gradle-6.1.1/bin + +# Work directory +WORKDIR /app \ No newline at end of file