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
8298aeb2
Commit
8298aeb2
authored
Aug 06, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jdk基础镜像增加telnet chrome
parent
4ba5311b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Dockerfile
tke/jdk1.8/Dockerfile
+6
-0
Dockerfile.chromium
tke/jdk1.8/Dockerfile.chromium
+17
-0
No files found.
tke/jdk1.8/Dockerfile
View file @
8298aeb2
...
@@ -2,9 +2,15 @@ FROM anapsix/alpine-java:8u201b09_jdk_unlimited
...
@@ -2,9 +2,15 @@ FROM anapsix/alpine-java:8u201b09_jdk_unlimited
ENV
TZ Asia/Shanghai
ENV
TZ Asia/Shanghai
# vi to vim
RUN
apk add vim
&&
\
rm
-rf
/usr/bin/vi
&&
\
ln
-s
/usr/bin/vim /usr/bin/vi
RUN
set
-eux
&&
\
RUN
set
-eux
&&
\
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g'
/etc/apk/repositories
&&
\
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g'
/etc/apk/repositories
&&
\
apk add
--no-cache
--update
tzdata curl
&&
\
apk add
--no-cache
--update
tzdata curl
&&
\
apk add
--no-cache
--update
busybox-extras
&&
\
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
\
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
\
echo
$TZ
>
/etc/timezone
echo
$TZ
>
/etc/timezone
\ No newline at end of file
tke/jdk1.8/Dockerfile.chromium
0 → 100644
View file @
8298aeb2
FROM anapsix/alpine-java:8u201b09_jdk_unlimited
ENV TZ Asia/Shanghai
# vi to vim
RUN apk add vim && \
rm -rf /usr/bin/vi && \
ln -s /usr/bin/vim /usr/bin/vi
RUN set -eux && \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk add --no-cache --update tzdata curl && \
apk add --no-cache --update busybox-extras && \
apk add --no-cache --update chromium-chromedriver chromium && \
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