update launch app and launch services scripts to use timouts

This commit is contained in:
2019-02-05 22:15:51 -05:00
parent 32268ea916
commit 72cf28aa56
5 changed files with 137 additions and 24 deletions

View File

@@ -1,15 +1,21 @@
FROM fluent/fluentd:v0.14-onbuild
FROM fluent/fluentd:v1.3-debian-onbuild-1
MAINTAINER Richard Morgan <r_morgan@sympatico.ca>
RUN apk add --update --virtual .build-deps \
sudo build-base ruby-dev \
# cutomize following instruction as you wish
# Use root account to use apt
USER root
RUN buildDeps="sudo make gcc g++ libc-dev ruby-dev" \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& sudo gem install \
fluent-plugin-secure-forward \
fluent-plugin-loggly \
&& sudo gem sources --clear-all \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/* \
&& SUDO_FORCE_REMOVE=yes \
apt-get purge -y --auto-remove \
-o APT::AutoRemove::RecommendsImportant=false \
$buildDeps \
&& rm -rf /var/lib/apt/lists/* \
/home/fluent/.gem/ruby/2.3.0/cache/*.gem
EXPOSE 24224 24220
USER fluent