Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
e7e38dc6
Commit
e7e38dc6
authored
Mar 01, 2018
by
kalvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决db时区问题
parent
fcec132c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Dockerfile
baseimg/tools/db/Dockerfile
+5
-1
No files found.
baseimg/tools/db/Dockerfile
View file @
e7e38dc6
...
@@ -14,4 +14,8 @@ COPY ./init_db_data.sh $AUTO_RUN_DIR/
...
@@ -14,4 +14,8 @@ COPY ./init_db_data.sh $AUTO_RUN_DIR/
#给执行文件增加可执行权限
#给执行文件增加可执行权限
RUN
chmod
a+x
$AUTO_RUN_DIR
/init_db_data.sh
RUN
chmod
a+x
$AUTO_RUN_DIR
/init_db_data.sh
RUN
echo
"dash dash/sh boolean false"
| debconf-set-selections
RUN
echo
"dash dash/sh boolean false"
| debconf-set-selections
RUN
DEBIAN_FRONTEND
=
noninteractive dpkg-reconfigure dash
RUN
DEBIAN_FRONTEND
=
noninteractive dpkg-reconfigure dash
\ No newline at end of file
# 解决时区问题
ENV
TZ=Asia/Shanghai
RUN
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
>
/etc/timezone
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment