From 861af18fbfac114fb8cb2738273790dbfa3ac225 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 15 Sep 2019 14:00:23 +0000 Subject: [PATCH] =?UTF-8?q?ENV=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Dockerfile | 2 -- app/entrypoint_hidche_app.sh | 2 +- db/Dockerfile | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index b725d2a..2aa09a4 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -46,8 +46,6 @@ RUN { \ VOLUME /var/www/html -ENV TZ=Asia/Seoul - COPY entrypoint_hidche_app.sh /usr/local/bin/ COPY id_ecdsa.key /var/www/.ssh/id_ecdsa COPY known_hosts /var/www/.ssh/known_hosts diff --git a/app/entrypoint_hidche_app.sh b/app/entrypoint_hidche_app.sh index d4a5724..78733b7 100755 --- a/app/entrypoint_hidche_app.sh +++ b/app/entrypoint_hidche_app.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -uxo pipefail +set -euxo pipefail shopt -s nullglob ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone diff --git a/db/Dockerfile b/db/Dockerfile index 2c9a5be..9537671 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -1,9 +1,6 @@ FROM mariadb #ubuntu - -ENV TZ=Asia/Seoul - COPY entrypoint_hidche_db.sh /usr/local/bin/ ENTRYPOINT ["entrypoint_hidche_db.sh"]