修改ubuntu-bionic

This commit is contained in:
KennyLee 2019-06-06 17:04:41 +08:00
parent e1a7eb0dc8
commit 8dd3a16d7a
4 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM registry.cn-hangzhou.aliyuncs.com/kennylee/ubuntu:xenial FROM registry.cn-hangzhou.aliyuncs.com/kennylee/ubuntu:bionic
MAINTAINER kennylee26 <kennylee26@gmail.com> MAINTAINER kennylee26 <kennylee26@gmail.com>

3
jenkins/clear-data.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
rm -rf './data/*' './data/\.*'

View File

@ -1,7 +1,7 @@
version: '2.4' version: '2.4'
services: services:
app: app:
image: registry.cn-hangzhou.aliyuncs.com/kennylee/jenkins:2.60.3 image: registry.cn-hangzhou.aliyuncs.com/kennylee/jenkins:2.164.3
ports: ports:
- 8080:8080 - 8080:8080
- 50000:50000 - 50000:50000

View File

@ -26,6 +26,7 @@ ENV LANG=zh_CN.UTF-8\
LANGUAGE=zh_CN:zh:en_US:en\ LANGUAGE=zh_CN:zh:en_US:en\
LC_ALL=zh_CN.UTF-8\ LC_ALL=zh_CN.UTF-8\
TZ=Asia/Shanghai\ TZ=Asia/Shanghai\
DEBIAN_FRONTEND=noninteractive\
TERM=xterm TERM=xterm
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \ RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \