Browse Source

add fluent

master
zeus 3 years ago
parent
commit
1e7bfbeafb
  1. 18
      Dockerfile
  2. 5
      setup.sh

18
Dockerfile

@ -48,6 +48,24 @@ USER ${USER1}
RUN /home/${USER1}/${NODEPROJECT}/install-dummyservice.sh
# --- fluent ----- uncomment --------------------------
ARG NODEPROJECT2src=poc-datacollector/WriteToMongo/fluent/
ARG NODEPROJECT2=fluent
ENV NODEPROJECTSRC2 ${NODEPROJECT2src}
ENV NODEPROJECT2 ${NODEPROJECT2}
COPY ${NODEPROJECTSRC2} /home/${USER1}/${NODEPROJECT2}
RUN chown -R ${USER1}.${USER1} /home/${USER1}
USER root
RUN /home/${USER1}/${NODEPROJECT}/install-fluent.sh
USER ${USER1}
WORKDIR /home/${USER1}

5
setup.sh

@ -84,8 +84,11 @@ gem install json
gem install async-http
gem install ext-monitor
gem sources --clear-all \
echo "==> Clean up"
rm -rf \
/root/.gnupg \
/setup.sh \
/extrapackages
/extrapackages \
/tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem

Loading…
Cancel
Save