update launch app and launch services scripts to use timouts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user