fix docker builds (#14211)
docker rm wheel
Ilya Mashchenko committed
Jan 5, 2023 at 13:44 UTC
6fc5c4f51d0406090398f471057f7f11646b838f
1 file changed
-3
packaging/docker/Dockerfile
-3
@@ -82,7 +82,6 @@ RUN mkdir -p /opt/src /var/log/netdata && \
82
# Fix handling of config directory
83
84
# Long-term this should leverage BuildKit’s mount option.
85
-COPY --from=builder /wheels /wheels
85
COPY --from=builder /app /
86
87
# Apply the permissions as described in
@@ -109,8 +108,6 @@ RUN chown -R root:root \
108
# Group write permissions due to: https://github.com/netdata/netdata/pull/6543
109
find /var/lib/netdata /var/cache/netdata -type d -exec chmod 0770 {} \; && \
110
find /var/lib/netdata /var/cache/netdata -type f -exec chmod 0660 {} \; && \
112
- pip --no-cache-dir install /wheels/* && \
113
- rm -rf /wheels && \
111
cp -va /etc/netdata /etc/netdata.stock
112
113
ENV NETDATA_LISTENER_PORT 19999