Public Repository

Last pushed: a year ago
Short Description
Base image include OpenJDK 8, Maven 3.3.9, SBT 0.13.11, bash, nodejs, subversion and git
Full Description

####1.2

Set the base image

FROM alpine:3.3

LABEL description="Required Software Distribution" version="rsd1.2"
MAINTAINER Nns68751+n10n@gmail.com

ENV NODEADMINEMAIL admin@localhost
ENV NODEADMINPASS a
ENV DB_HOST 127.0.0.1
ENV DB_PORT 27017

ENV W_DIR /usr/local

COPY entrypoint.sh.rsd $W_DIR/entrypoint.sh
COPY deploy.sh $W_DIR/deploy.sh

Install OpenJDK 8, Maven, SBT, NodeJS and other software

RUN \
echo http://dl-4.alpinelinux.org/alpine/v3.3/main >> /etc/apk/repositories && \
echo http://dl-4.alpinelinux.org/alpine/v3.3/community>> /etc/apk/repositories && \
apk --update add bash git nodejs openjdk8 openssh-client subversion && \
wget http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz -O \
/usr/lib/apache-maven-3.3.9-bin.tar.gz && \
wget https://dl.bintray.com/sbt/native-packages/sbt/0.13.11/sbt-0.13.11.tgz -O \
/usr/lib/sbt-0.13.11.tgz && \
cd /usr/lib/ && \
tar -xzvf apache-maven-3.3.9-bin.tar.gz && \
tar -xzvf sbt-0.13.11.tgz && \
\
cd /usr/bin && \
ln -s ../lib/jvm/java-1.8-openjdk/bin/javac /usr/bin/javac && \
ln -s ../lib/jvm/java-1.8-openjdk/bin/jar /usr/bin/jar && \
ln -s ../lib/apache-maven-3.3.9/bin/mvn /usr/bin/mvn && \
ln -s ../lib/sbt/bin/sbt /usr/bin/sbt && \
\
rm -rf /var/cache/apk/* /usr/lib/apache-maven-3.3.9-bin.tar.gz /usr/lib/sbt-0.13.11.tgz && \
chmod 755 $W_DIR/entrypoint.sh $W_DIR/deploy.sh

EXPOSE 9876 9000
ENTRYPOINT ["/usr/local/entrypoint.sh"]
CMD [ "/usr/local/splicious/splicious.sh" ]
CMD [ "/usr/local/frontui/frontui.sh" ]

####1.1
FROM livelygig/rsd # from 1.0

LABEL description="Docker Base Image Required Software" version="0.2.0"
MAINTAINER Nns68751+n10n@gmail.com

ENV NODEADMINEMAIL admin@localhost
ENV NODEADMINPASS a
ENV DB_HOST 127.0.0.1
ENV DB_PORT 27017
ENV API_HOST 127.0.0.1
ENV API_PORT 9876

ENV W_DIR /usr/local

COPY entrypoint.sh.rsd $W_DIR/entrypoint.sh

EXPOSE 9876 9000
ENTRYPOINT ["/usr/local/entrypoint.sh"]
CMD [ "/usr/local/splicious/splicious.sh" ]
CMD [ "/usr/local/frontui/frontui.sh" ]

####1.0
echo http://dl-4.alpinelinux.org/alpine/v3.3/main >> /etc/apk/repositories && \
echo http://dl-4.alpinelinux.org/alpine/v3.3/community>> /etc/apk/repositories && \
apk --update add bash git nodejs openjdk8 openssh-client && \
wget http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz -O \
/usr/lib/apache-maven-3.3.9-bin.tar.gz && \
wget https://dl.bintray.com/sbt/native-packages/sbt/0.13.11/sbt-0.13.11.tgz -O \
/usr/lib/sbt-0.13.11.tgz && \
cd /usr/lib/ && \
tar -xzvf apache-maven-3.3.9-bin.tar.gz && \
tar -xzvf sbt-0.13.11.tgz && \
\
cd /usr/bin && \
ln -s ../lib/jvm/java-1.8-openjdk/bin/javac /usr/bin/javac && \
ln -s ../lib/jvm/java-1.8-openjdk/bin/jar /usr/bin/jar && \
ln -s ../lib/apache-maven-3.3.9/bin/mvn /usr/bin/mvn && \
ln -s ../lib/sbt/bin/sbt /usr/bin/sbt && \
\
rm -rf /var/cache/apk/* /usr/lib/apache-maven-3.3.9-bin.tar.gz /usr/lib/sbt-0.13.11.tgz \

Docker Pull Command
Owner
livelygig