Added tzdata and --virtual devtools (#2053)

* Update Dockerfile.arm32v6

using --virtual for devtools, added tzdata

* Update Dockerfile.arm64v8

* Update Dockerfile.amd64

* Lint
This commit is contained in:
Raymond Mouthaan
2019-09-29 21:32:11 +02:00
committed by Koen Kanters
parent c8eb503ae7
commit 99ebc46981
3 changed files with 11 additions and 8 deletions
+3 -2
View File
@@ -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"]
+4 -3
View File
@@ -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"]
ENTRYPOINT ["./run.sh"]
+4 -3
View File
@@ -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"]
ENTRYPOINT ["./run.sh"]