diff --git a/Docker/Dockerfile b/Docker/Dockerfile index a294d25..96ede3a 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -8,6 +8,7 @@ RUN apt-get install apt-transport-https ca-certificates software-properties-comm RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | tee /etc/apt/sources.list.d/mono-official-stable.list RUN apt-get update RUN apt-get install -y mono-complete +RUN apt-get install -y tzdata RUN add-apt-repository multiverse RUN curl -fsSL https://deb.nodesource.com/setup_15.x | bash @@ -26,4 +27,4 @@ WORKDIR /home/container ENV CACHEBUST=1 COPY ./entrypoint.sh /entrypoint.sh -CMD ["/bin/bash", "/entrypoint.sh"] \ No newline at end of file +CMD ["/bin/bash", "/entrypoint.sh"] diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh index f52c033..6b23353 100644 --- a/Docker/entrypoint.sh +++ b/Docker/entrypoint.sh @@ -1,5 +1,8 @@ #!/bin/bash echo "Hello!" +# Default the TZ environment variable to UTC. +TZ=${TZ:-UTC} +export TZ cd /home/container || exit MODIFIED_STARTUP=$(eval echo "$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g')") echo "/home/container/scp_server$: ${MODIFIED_STARTUP}" diff --git a/README.md b/README.md new file mode 100644 index 0000000..061b2a1 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Original Fork