Add POWER8+ support to our official Docker images. (#11592)
* Add POWER8+ support to our official Docker images. * Update docs about lack of FreeIPMI in POWER8 docker images. * Update packaging/docker/README.md Co-authored-by: David Shreve, Jr. <david@netdata.cloud> Co-authored-by: David Shreve, Jr. <david@netdata.cloud>
Austin S. Hemmelgarn committed
Oct 12, 2021 at 07:34 UTC
b015f2afe5bc5878ead85250a56451d20e27b149
3 files changed
+9
-3
.github/workflows/docker.yml
+2
-1
@@ -44,6 +44,7 @@ jobs:
44
- linux/i386
45
- linux/arm/v7
46
- linux/arm64
47
+ - linux/ppc64le
48
steps:
49
- name: Checkout
50
uses: actions/checkout@v2
@@ -92,7 +93,7 @@ jobs:
93
- name: Docker Build
94
uses: docker/build-push-action@v2
95
with:
95
- platforms: linux/amd64,linux/i386,linux/arm/v7,linux/arm64
96
+ platforms: linux/amd64,linux/i386,linux/arm/v7,linux/arm64,linux/ppc64le
97
push: true
98
tags: ${{ env.tags }}
99
- name: Failure Notification
packaging/docker/Dockerfile
+4
-2
@@ -99,8 +99,10 @@ RUN chown -R root:root \
99
chmod 0755 /usr/libexec/netdata/plugins.d/*.plugin && \
100
chmod 4755 \
101
/usr/libexec/netdata/plugins.d/cgroup-network \
102
- /usr/libexec/netdata/plugins.d/apps.plugin \
103
- /usr/libexec/netdata/plugins.d/freeipmi.plugin && \
102
+ /usr/libexec/netdata/plugins.d/apps.plugin && \
103
+ if [ -f /usr/libexec/netdata/plugins.d/freeipmi.plugin ]; then \
104
+ chmod 4755 /usr/libexec/netdata/plugins.d/freeipmi.plugin; \
105
+ fi && \
106
# Group write permissions due to: https://github.com/netdata/netdata/pull/6543
107
find /var/lib/netdata /var/cache/netdata -type d -exec chmod 0770 {} \; && \
108
find /var/lib/netdata /var/cache/netdata -type f -exec chmod 0660 {} \; && \
packaging/docker/README.md
+3
@@ -32,6 +32,9 @@ directive, not a COMMAND directive. Please adapt your execution scripts accordin
32
ENTRYPOINT vs COMMAND in the [Docker
33
documentation](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).
34
35
+Our POWER8+ Docker images do not support our FreeIPMI collector. This is a technical limitation in FreeIPMI itself,
36
+and unfortunately not something we can realistically work around.
37
+
38
## Create a new Netdata Agent container
39
40
You can create a new Agent container using either `docker run` or Docker Compose. After using either method, you can