From 6fc28bd9fb7ca5db708b343ff15438844369e991 Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Sat, 11 Jul 2020 21:13:44 +0200 Subject: [PATCH] Fastlane --- Dockerfile | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) 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