Unverified Commit 9badda3a authored by Cody Shepherd's avatar Cody Shepherd Committed by GitHub
Browse files

Merge pull request #532 from influxdata/kapacitor/fix-alpine-tree

fix: correctly copy the tarball tree for Kapa alpine image
parents d05a5eaa 2dda23af
......@@ -20,9 +20,7 @@ RUN set -ex && \
gpg --batch --verify kapacitor-${KAPACITOR_VERSION}_linux_amd64.tar.gz.asc kapacitor-${KAPACITOR_VERSION}_linux_amd64.tar.gz && \
mkdir -p /usr/src && \
tar -C /usr/src -xzf kapacitor-${KAPACITOR_VERSION}_linux_amd64.tar.gz && \
rm -f /usr/src/kapacitor-*/kapacitor.conf && \
chmod +x /usr/src/kapacitor-*/* && \
cp -a /usr/src/kapacitor-*/* /usr/bin/ && \
cp -ar /usr/src/kapacitor-*/* / && \
gpgconf --kill all && \
rm -rf *.tar.gz* /usr/src /root/.gnupg && \
apk del .build-deps
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment