Skip to content

Commit

Permalink
AGDIGGER-21 - removed unsed parts of the image
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Nov 30, 2016
1 parent b25e09b commit f48177d
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions docker/android-slave/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ RUN chown -R 1001:0 $HOME && \
chmod -R g+rw $HOME

# Install build dependencies
RUN yum install -y git wget python curl
## Support native builds
# RUN yum install gcc gcc-c++ make openssl-devel
RUN yum install -y git wget python curl expect expectk

# Copy install tools
COPY tools /opt/tools
Expand All @@ -41,8 +39,6 @@ RUN cd /opt && wget --output-document=android-sdk.tgz --quiet https://dl.google.
tar xzf android-sdk.tgz && \
rm -f android-sdk.tgz

RUN yum install -y expect expectk

RUN cd /opt && chown -R root.root android-sdk-linux && \
chmod -R 777 /opt/tools && \
/opt/tools/android-accept-licenses.sh "android-sdk-linux/tools/android update sdk --all --no-ui --filter platform-tools,tools" && \
Expand All @@ -57,19 +53,6 @@ RUN which android

RUN android list targets

# Create emulator
# RUN echo "no" | android create avd \
# --force \
# --device "Nexus 5" \
# --name test \
# --target android-24 \
# --abi armeabi-v7a \
# --skin WVGA800 \
# --sdcard 512M

# Install Cordova
#RUN npm install -g cordova

# GO to workspace
RUN mkdir -p /opt/workspace
WORKDIR /opt/workspace
Expand Down

0 comments on commit f48177d

Please sign in to comment.