Skip to content

Commit 51f7715

Browse files
committed
Possible fix for Release file not valid yet issue
1 parent dd8ded7 commit 51f7715

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ ENV SUPPRESS_NO_CONFIG_WARNING=1 \
2222
NPM_BUILD_COMMIT="${BUILD_COMMIT}" \
2323
NPM_BUILD_DATE="${BUILD_DATE}"
2424

25+
26+
RUN echo $(date)
27+
RUN date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
28+
RUN echo $(date)
29+
2530
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
2631
&& apt-get update \
2732
&& apt-get install -y --no-install-recommends jq logrotate \

0 commit comments

Comments
 (0)