Skip to content

Commit

Permalink
tz forced to runner default from ipapi
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanq16 authored Jan 7, 2024
1 parent 135f5f1 commit 9990e86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security_docker_main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ RUN python3 -m pip install --upgrade setuptools wheel pip && \
RUN python3 -m pip install --upgrade pip setuptools wheel && \
DEBIAN_FRONTEND="noninteractive" apt autoclean -y && \
DEBIAN_FRONTEND="noninteractive" apt autoremove -y && \
TZ=$(curl https://ipapi.co/timezone)
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo "America/Chicago" > /etc/timezone && \
echo $TZ > /etc/timezone && \
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config

0 comments on commit 9990e86

Please sign in to comment.