-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
20 lines (15 loc) · 1.03 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Autogenerated by Sencha, Inc. on: 13-Sep-2016 23:49:45
FROM openjdk:8-jre-alpine
RUN apk update && apk upgrade && apk --update add \
ruby build-base libstdc++ tzdata bash ttf-dejavu freetype fontconfig wget curl
RUN wget http://cdn.sencha.com/cmd/6.1.3.42/no-jre/SenchaCmd-6.1.3.42-linux-amd64.sh.zip -O senchacmd.zip && unzip senchacmd.zip && rm senchacmd.zip && chmod +x SenchaCmd-6.1.3.42-linux-amd64.sh
RUN ./SenchaCmd-6.1.3.42-linux-amd64.sh -q -dir /opt/Sencha/Cmd/6.1.3.42 -Dall=true
RUN rm SenchaCmd-6.1.3.42-linux-amd64.sh && chmod +x /opt/Sencha/Cmd/6.1.3.42/sencha
ENV PJS_HOME=/usr/lib/phantomjs
RUN cd /tmp && \
curl -Ls "https://github.com/israelroldan/docker-sencha-cmd/raw/phantomjs-2.1.1/dockerized-phantomjs-2.1.1.tar.gz" | tar xz -C / && \
ln -s "$PJS_HOME/bin/phantomjs" /usr/bin/phantomjs && \
rm /opt/Sencha/Cmd/6.1.3.42/bin/linux-x64/phantomjs/phantomjs && \
ln -s "$PJS_HOME/bin/phantomjs" /opt/Sencha/Cmd/6.1.3.42/bin/linux-x64/phantomjs/phantomjs
ENTRYPOINT ["/opt/Sencha/Cmd/6.1.3.42/sencha"]
WORKDIR /code