I am getting ERROR: Service 'app' failed to build : Build failed when I execute docker-compose up -d. Output is like below
Building app
Sending build context to Docker daemon 9.728kB
Step 1/18 : FROM alpine:3.20.1
---> 092561eea88f
Step 2/18 : ENV PATH="/mattermost/bin:${PATH}"
---> Using cache
---> a137f460d341
Step 3/18 : ENV MM_INSTALL_TYPE=docker
---> Using cache
---> 29ed3c00e4f4
Step 4/18 : ARG PUID=1000
---> Using cache
---> a13caefaf745
Step 5/18 : ARG PGID=1000
---> Using cache
---> 6a8f25d3e7c8
Step 6/18 : ARG MM_LISTEN_PORT=8000
---> Using cache
---> 396c6d2ba6d4
Step 7/18 : ARG TARGETOS
---> Using cache
---> 7c4452525b62
Step 8/18 : ARG TARGETARCH
---> Using cache
---> 0a265cfb9c8a
Step 9/18 : ARG MM_VERSION
---> Using cache
---> a3376ce0fd1d
Step 10/18 : RUN apk add --no-cache ca-certificates curl jq libc6-compat libffi-dev libcap linux-headers mailcap netcat-openbsd xmlsec-dev tzdata && rm -rf /tmp/*
---> Using cache
---> 8bfe9f334916
Step 11/18 : RUN mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins && curl -L https://github.com/remiheens/mattermost-docker-arm/releases/download/${MM_VERSION}/mattermost-${MM_VERSION}-${TARGETOS}-${TARGETARCH}.tar.gz | tar -C /mattermost --strip-components=1 -xvz && cp /mattermost/config/config.json /mattermost/config.json.save && rm -rf /mattermost/config/config.json && addgroup -g ${PGID} mattermost && adduser -D -u ${PUID} -G mattermost -h /mattermost -D mattermost && chown -R mattermost:mattermost /mattermost/config.json.save /mattermost/plugins /mattermost/client/plugins && setcap cap_net_bind_service=+ep /mattermost/bin/mattermost
---> Running in b5926e2edf9b
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9 100 9 0 0 18 0 --:--:-- --:--:-- --:--:-- 18
tar: invalid magic
tar: short read
The command '/bin/sh -c mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins && curl -L https://github.com/remiheens/mattermost-docker-arm/releases/download/${MM_VERSION}/mattermost-${MM_VERSION}-${TARGETOS}-${TARGETARCH}.tar.gz | tar -C /mattermost --strip-components=1 -xvz && cp /mattermost/config/config.json /mattermost/config.json.save && rm -rf /mattermost/config/config.json && addgroup -g ${PGID} mattermost && adduser -D -u ${PUID} -G mattermost -h /mattermost -D mattermost && chown -R mattermost:mattermost /mattermost/config.json.save /mattermost/plugins /mattermost/client/plugins && setcap cap_net_bind_service=+ep /mattermost/bin/mattermost' returned a non-zero code: 1
ERROR: Service 'app' failed to build : Build failed
I am getting
ERROR: Service 'app' failed to build : Build failedwhen I executedocker-compose up -d. Output is like below