Fix tomcat build
This commit is contained in:
parent
b02d70df38
commit
939d9b0d45
@ -22,7 +22,7 @@ SCRIPT
|
|||||||
ac_cv_func_isnan=yes ac_cv_func_isinf=yes ./configure --build=x86_64-linux-musl --disable-install-doc --enable-shared
|
ac_cv_func_isnan=yes ac_cv_func_isinf=yes ./configure --build=x86_64-linux-musl --disable-install-doc --enable-shared
|
||||||
|
|
||||||
# Compile and install Ruby
|
# Compile and install Ruby
|
||||||
make -j $(nproc)
|
make -j $(getconf _NPROCESSORS_ONLN)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# Install RubyGems and Bundler
|
# Install RubyGems and Bundler
|
||||||
|
@ -5,7 +5,7 @@ LAYER shared/tomcat
|
|||||||
|
|
||||||
SCRIPT
|
SCRIPT
|
||||||
# Install Tomcat 8
|
# Install Tomcat 8
|
||||||
wget http://mirror.hosting90.cz/apache/tomcat/tomcat-8/v8.0.53/bin/apache-tomcat-8.0.53.tar.gz | tar xzf - -C /srv
|
wget http://mirror.hosting90.cz/apache/tomcat/tomcat-8/v8.0.53/bin/apache-tomcat-8.0.53.tar.gz -O - | tar xzf - -C /srv
|
||||||
mv /srv/apache-tomcat-8.0.53 /srv/tomcat
|
mv /srv/apache-tomcat-8.0.53 /srv/tomcat
|
||||||
|
|
||||||
# Make catalina.sh available globally
|
# Make catalina.sh available globally
|
||||||
|
@ -16,12 +16,12 @@ lxc-build ${SOURCE_DIR}/basic-runtimes/alpine.lxcfile
|
|||||||
# Build shared overlays
|
# Build shared overlays
|
||||||
lxc-build ${SOURCE_DIR}/basic-runtimes/java.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/java.lxcfile
|
||||||
lxc-build ${SOURCE_DIR}/basic-runtimes/libxml.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/libxml.lxcfile
|
||||||
#lxc-build ${SOURCE_DIR}/basic-runtimes/php.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/php.lxcfile
|
||||||
lxc-build ${SOURCE_DIR}/basic-runtimes/python2.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/python2.lxcfile
|
||||||
lxc-build ${SOURCE_DIR}/basic-runtimes/python3.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/python3.lxcfile
|
||||||
#lxc-build ${SOURCE_DIR}/basic-runtimes/nodejs.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/nodejs.lxcfile
|
||||||
#lxc-build ${SOURCE_DIR}/basic-runtimes/ruby.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/ruby.lxcfile
|
||||||
#lxc-build ${SOURCE_DIR}/basic-runtimes/tomcat.lxcfile
|
lxc-build ${SOURCE_DIR}/basic-runtimes/tomcat.lxcfile
|
||||||
|
|
||||||
# Build applications
|
# Build applications
|
||||||
lxc-build ${SOURCE_DIR}/activemq
|
lxc-build ${SOURCE_DIR}/activemq
|
||||||
|
@ -14,21 +14,21 @@ RUN \
|
|||||||
&& tar xf /tmp/liboggz.tgz -C /tmp \
|
&& tar xf /tmp/liboggz.tgz -C /tmp \
|
||||||
&& cd /tmp/liboggz-1.1.1 \
|
&& cd /tmp/liboggz-1.1.1 \
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
&& make -j $(nproc) \
|
&& make -j $(getconf _NPROCESSORS_ONLN) \
|
||||||
&& make install \
|
&& make install \
|
||||||
# Compile libfishsound
|
# Compile libfishsound
|
||||||
&& wget https://ftp.osuosl.org/pub/xiph/releases/libfishsound/libfishsound-1.0.0.tar.gz -O /tmp/libfishsound.tgz \
|
&& wget https://ftp.osuosl.org/pub/xiph/releases/libfishsound/libfishsound-1.0.0.tar.gz -O /tmp/libfishsound.tgz \
|
||||||
&& tar xf /tmp/libfishsound.tgz -C /tmp/ \
|
&& tar xf /tmp/libfishsound.tgz -C /tmp/ \
|
||||||
&& cd /tmp/libfishsound-1.0.0 \
|
&& cd /tmp/libfishsound-1.0.0 \
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
&& make -j $(nproc) \
|
&& make -j $(getconf _NPROCESSORS_ONLN) \
|
||||||
&& make install \
|
&& make install \
|
||||||
# Compile liboggplay
|
# Compile liboggplay
|
||||||
&& git clone --depth 1 git://git.xiph.org/liboggplay.git /tmp/liboggplay \
|
&& git clone --depth 1 git://git.xiph.org/liboggplay.git /tmp/liboggplay \
|
||||||
&& cd /tmp/liboggplay \
|
&& cd /tmp/liboggplay \
|
||||||
&& ./autogen.sh \
|
&& ./autogen.sh \
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
&& make -j $(nproc) \
|
&& make -j $(getconf _NPROCESSORS_ONLN) \
|
||||||
&& make install \
|
&& make install \
|
||||||
# Compile Oxframe
|
# Compile Oxframe
|
||||||
&& git clone --depth 1 https://code.0x2620.org/0x2620/oxframe /tmp/oxframe \
|
&& git clone --depth 1 https://code.0x2620.org/0x2620/oxframe /tmp/oxframe \
|
||||||
|
@ -11,4 +11,4 @@ ${SOURCE_DIR}/redis/setup.sh
|
|||||||
${SOURCE_DIR}/solr/setup.sh
|
${SOURCE_DIR}/solr/setup.sh
|
||||||
|
|
||||||
# Setup applications
|
# Setup applications
|
||||||
${SOURCE_DIR}/ckan
|
${SOURCE_DIR}/ckan/setup.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user