-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 739 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 739 Bytes
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
FROM beevelop/android-nodejs:latest
MAINTAINER Randy Stauner <randy@magnificent-tears.com>
RUN apt-get update \
&& apt-get install -y \
g++ \
make \
python \
&& rm -rf /var/lib/apt/lists/* /tmp/*
# NativeScript suggests:
# --filter tools,platform-tools,android-23,build-tools-23.0.2,extra-android-m2repository,extra-google-m2repository,extra-android-support --all --no-ui
# Setup maven repo to satisfy tns doctor.
RUN echo y | $ANDROID_HOME/tools/android update sdk --no-ui \
--filter extra-android-m2repository,extra-google-m2repository
RUN npm install -g nativescript --unsafe-perm
# /root/.m2 ?
VOLUME \
/root/.android \
/root/.gradle \
/root/.local/share/.nativescript-cli
RUN mkdir -p /src
WORKDIR /src