ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:6a209aa51ba684c0a39769619c42058ca99311b87563c7b079319a8bb91bec1f in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt-get -y update && apt-get -y upgrade && apt-get -y install wget unzip jq # buildkit |
RUN /bin/sh -c wget https://releases.hashicorp.com/vault/1.10.1/vault_1.10.1_linux_amd64.zip -O /root/vault.zip # buildkit |
RUN /bin/sh -c unzip /root/vault.zip -d /usr/sbin/ # buildkit |
RUN /bin/sh -c chmod +x /usr/sbin/vault # buildkit |
COPY /usr/lib/x86_64-linux-gnu/libsasl*.so* /usr/lib/x86_64-linux-gnu/libssl.so* /usr/lib/x86_64-linux-gnu/libcrypto.so* /usr/lib/x86_64-linux-gnu/ # buildkit |
COPY /usr/lib/x86_64-linux-gnu/libpq.so* /usr/lib/x86_64-linux-gnu/libgssapi* /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/x86_64-linux-gnu/libkrb* /usr/lib/x86_64-linux-gnu/libk5crypto* /usr/lib/x86_64-linux-gnu/liblber* /usr/lib/x86_64-linux-gnu/libyaml* /lib/x86_64-linux-gnu/libkeyutils* /lib/x86_64-linux-gnu/ # buildkit |
COPY /fluent-bit/bin/ /fluent-bit/bin/ # buildkit |
COPY /usr/local/lib/lua/ /usr/local/lib/lua/ # buildkit |
COPY confs/fluent-bit.conf /fluent-bit/etc/ # buildkit |
COPY confs/parsers.conf /fluent-bit/etc/ # buildkit |
COPY confs/filters.lua /fluent-bit/etc/ # buildkit |
COPY confs/entrypoint.sh /entrypoint.sh # buildkit |
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
RUN /bin/sh -c mkdir -p /data # buildkit |
RUN /bin/sh -c mkdir -p /var/lib/docker/containers # buildkit |
RUN /bin/sh -c ldd /fluent-bit/bin/fluent-bit | sort && /fluent-bit/bin/fluent-bit --version # buildkit |
ENTRYPOINT ["/entrypoint.sh"] |