From fe10ebea62efdf9662505118181dc53807147379 Mon Sep 17 00:00:00 2001 From: SrLicht <36207738+SrLicht@users.noreply.github.com> Date: Sat, 24 Dec 2022 16:19:59 -0300 Subject: [PATCH 1/3] tzdata --- Docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"] From 3d323b3933c573aaa33376d83c2f0fcc8f8344e7 Mon Sep 17 00:00:00 2001 From: SrLicht <36207738+SrLicht@users.noreply.github.com> Date: Sat, 24 Dec 2022 16:20:46 -0300 Subject: [PATCH 2/3] tz environment variable --- Docker/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) 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}" From d2528fa25ab37724d248ef4106ffd5ecbc72bb38 Mon Sep 17 00:00:00 2001 From: SrLicht <36207738+SrLicht@users.noreply.github.com> Date: Fri, 6 Jan 2023 12:06:10 -0300 Subject: [PATCH 3/3] Create README.md --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md 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