-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
25 lines (22 loc) · 919 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
FROM openjdk:8-jre
LABEL maintainer "Philippe Poumaroux <poum@cpan.org>"
ENV VERSION=6.6.0.13
RUN curl -o /cmd.run.zip http://cdn.sencha.com/cmd/$VERSION/no-jre/SenchaCmd-$VERSION-linux-amd64.sh.zip && \
unzip -p /cmd.run.zip > /cmd-install.run && \
chmod +x /cmd-install.run && \
/cmd-install.run -q -Dall=true -dir /opt/Sencha/Cmd/$VERSION && \
install -dm777 -o root -g root /opt/Sencha/Cmd/repo && \
rm /cmd-install.run /cmd.run.zip && \
ln -s /opt/Sencha/Cmd/$VERSION/sencha /opt/Sencha/sencha && \
apt-get update && apt-get install -y --no-install-recommends \
ruby \
libffi6 \
build-essential \
ruby-dev \
libffi-dev && \
gem update --system && \
gem install compass && \
apt-get remove -y ruby-dev build-essential libffi-dev && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/opt/Sencha/sencha"]