diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index e69c1552..05528528 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -12,9 +12,10 @@ ARG COMMIT RUN echo "{\"hash\": \"$COMMIT\"}" > .hash.json # Install dependencies -RUN apk add --update --no-cache make gcc g++ python linux-headers udev nodejs npm git && \ +RUN apk add --update --no-cache nodejs npm tzdata && \ + apk add --update --no-cache --virtual .buildtools make gcc g++ python linux-headers udev git && \ npm install --unsafe-perm --production && \ - apk del make gcc g++ python linux-headers udev git + apk del .buildtools # Entrypoint ENTRYPOINT ["./run.sh"] diff --git a/docker/Dockerfile.arm32v6 b/docker/Dockerfile.arm32v6 index 6ee19c0c..0930b330 100644 --- a/docker/Dockerfile.arm32v6 +++ b/docker/Dockerfile.arm32v6 @@ -14,9 +14,10 @@ ADD . /app RUN [ "qemu-arm-static", "/bin/sh", "-c", \ "cp /app/data/configuration.yaml /app && \ cp /app/docker/run.sh /app && chmod +x /app/run.sh && \ - apk add --update --no-cache make gcc g++ python linux-headers udev nodejs npm git && \ + apk add --update --no-cache nodejs npm tzdata && \ + apk add --update --no-cache --virtual .buildtools make gcc g++ python linux-headers udev git && \ npm install --unsafe-perm --production && \ - apk del make gcc g++ python linux-headers udev git"] + apk del .buildtools"] # Entrypoint -ENTRYPOINT ["./run.sh"] \ No newline at end of file +ENTRYPOINT ["./run.sh"] diff --git a/docker/Dockerfile.arm64v8 b/docker/Dockerfile.arm64v8 index df3ff8e1..4ac5c5ca 100644 --- a/docker/Dockerfile.arm64v8 +++ b/docker/Dockerfile.arm64v8 @@ -14,9 +14,10 @@ ADD . /app RUN [ "qemu-aarch64-static", "/bin/sh", "-c", \ "cp /app/data/configuration.yaml /app && \ cp /app/docker/run.sh /app && chmod +x /app/run.sh && \ - apk add --update --no-cache make gcc g++ python linux-headers udev nodejs npm git && \ + apk add --update --no-cache nodejs npm tzdata && \ + apk add --update --no-cache --virtual .buildtools make gcc g++ python linux-headers udev git && \ npm install --unsafe-perm --production && \ - apk del make gcc g++ python linux-headers udev git"] + apk del .buildtools"] # Entrypoint -ENTRYPOINT ["./run.sh"] \ No newline at end of file +ENTRYPOINT ["./run.sh"]