martinzink commented on code in PR #1356:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1356#discussion_r902942020


##########
docker/Dockerfile:
##########
@@ -175,6 +175,7 @@ RUN addgroup -g ${GID} ${USER} && adduser -u ${UID} -D -G 
${USER} -g "" ${USER}
 # Copy built minifi distribution from builder
 COPY --from=build --chown=${USER}:${USER} ${MINIFI_VERSIONED_HOME} 
${MINIFI_HOME}
 COPY --from=build --chown=${USER}:${USER} 
${MINIFI_BASE_DIR}/docker/conf/minifi-log.properties 
${MINIFI_HOME}/conf/minifi-log.properties
+RUN echo "UTC" > /etc/timezone

Review Comment:
   good catch, I've changed it to use setup-timezone instead in 
https://github.com/apache/nifi-minifi-cpp/pull/1356/commits/85d7603993968ad0e6351edeee063073b840ce55
   
   From what I've gathered its a common problem, and its present on all 
containers.
   e.g.
   ```
   $ date
   Tue 21 Jun 20:28:05 CEST 2022
   $ docker run -it ubuntu:22.04 date
   Tue Jun 21 18:28:07 UTC 2022
   $ docker run -it centos:7 date
   Tue Jun 21 18:28:14 UTC 2022
   ```
   If someone wants to change this they can easily build an image from ours.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to