Browse Source

add fluent

master
zeus 3 years ago
parent
commit
8dfeaad9a8
  1. 3
      Dockerfile
  2. 8
      extrapackages
  3. 18
      setup.sh

3
Dockerfile

@ -61,11 +61,8 @@ COPY ${NODEPROJECTSRC2} /home/${USER1}/${NODEPROJECT2}
USER root USER root
RUN chown -R ${USER1}.${USER1} /home/${USER1} RUN chown -R ${USER1}.${USER1} /home/${USER1}
USER ${USER1}
RUN /home/${USER1}/${NODEPROJECT2}/install-fluent.sh RUN /home/${USER1}/${NODEPROJECT2}/install-fluent.sh
USER root
RUN /home/${USER1}/${NODEPROJECT2}/install-fluent-root.sh
USER ${USER1} USER ${USER1}

8
extrapackages

@ -3,3 +3,11 @@ cmake
zlib zlib
unzip unzip
build-base build-base
ruby
ruby-dev
ruby-etc
ruby-bigdecimal
ruby-io-console
ca-certificates
libressl
less

18
setup.sh

@ -42,8 +42,22 @@ apk --no-cache add \
tcptraceroute \ tcptraceroute \
curl \ curl \
lynx \ lynx \
ruby \
ruby-dev && apk add --virtual .build-dependencies \
build-base \
ruby-dev \
libressl-dev \
&& gem install bundler || apk add ruby-bundler \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
&& gem install json \
\
&& gem cleanup \
&& apk del .build-dependencies \
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
extrap=/root/extrapackages extrap=/root/extrapackages

Loading…
Cancel
Save