-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
32 lines (28 loc) · 952 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM runmymind/docker-android-sdk
RUN apt-get update && \
apt-get install -y openjdk-8-jdk && \
apt-get install -y ant && \
apt-get install -y mc vim && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer;
# Fix certificate issues, found as of
# https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/983302
RUN apt-get update && \
apt-get install -y ca-certificates-java && \
apt-get clean && \
update-ca-certificates -f && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer;
# Setup JAVA_HOME, this is useful for docker commandline
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
RUN export JAVA_HOME
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y libc6:i386 libstdc++6:i386 zlib1g:i386
WORKDIR /app
# COPY . /app
#ENV APKS ""
#CMD ["sh", "-c", "./run.sh ${APKS}"]
#ENTRYPOINT ["./a.sh"]
#CMD ["sh"]