This commit is contained in:
Stefan Schueller 2020-07-11 21:13:44 +02:00
parent 2fa99d28c5
commit 6fc28bd9fb
1 changed files with 21 additions and 11 deletions

View File

@ -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