Skip to content

Commit 9badda3

Browse files
authored
Merge pull request #532 from influxdata/kapacitor/fix-alpine-tree
fix: correctly copy the tarball tree for Kapa alpine image
2 parents d05a5ea + 2dda23a commit 9badda3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kapacitor/1.6/alpine/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ RUN set -ex && \
2020
gpg --batch --verify kapacitor-${KAPACITOR_VERSION}_linux_amd64.tar.gz.asc kapacitor-${KAPACITOR_VERSION}_linux_amd64.tar.gz && \
2121
mkdir -p /usr/src && \
2222
tar -C /usr/src -xzf kapacitor-${KAPACITOR_VERSION}_linux_amd64.tar.gz && \
23-
rm -f /usr/src/kapacitor-*/kapacitor.conf && \
24-
chmod +x /usr/src/kapacitor-*/* && \
25-
cp -a /usr/src/kapacitor-*/* /usr/bin/ && \
23+
cp -ar /usr/src/kapacitor-*/* / && \
2624
gpgconf --kill all && \
2725
rm -rf *.tar.gz* /usr/src /root/.gnupg && \
2826
apk del .build-deps

0 commit comments

Comments
 (0)