diff --git a/dragonwell/Alibaba_Dragonwell_11.0.7.2+9_Linux_x64.tar.gz b/dragonwell/Alibaba_Dragonwell_11.0.7.2+9_Linux_x64.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2286a25aa265009ea0fa77a9e9e1d5e27ee2de5a Binary files /dev/null and b/dragonwell/Alibaba_Dragonwell_11.0.7.2+9_Linux_x64.tar.gz differ diff --git a/dragonwell/Dockerfile b/dragonwell/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..46a7c01ec917666a2bec48b876dcc5cbfda040aa --- /dev/null +++ b/dragonwell/Dockerfile @@ -0,0 +1,34 @@ +# +# Copyright (C) 2018 XueTong Tech Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +FROM ubuntu:20.10 +MAINTAINER xt + +COPY sources.list /etc/apt/sources.list + +RUN apt-get update \ + && apt-get install haveged locales -y \ + && rm -rf /var/lib/apt/lists/* \ + && localedef -i zh_CN -c -f UTF-8 -A /usr/share/locale/locale.alias zh_CN.UTF-8 + +ADD Alibaba_Dragonwell_11.0.7.2+9_Linux_x64.tar.gz /usr/local/ + +ENV TZ Asia/Shanghai +ENV LANG zh_CN.UTF-8 + +ENV JAVA_HOME /usr/local/dragonwell_11.0.7.2 + +ENV PATH $PATH:$JAVA_HOME/bin diff --git a/dragonwell/sources.list b/dragonwell/sources.list new file mode 100644 index 0000000000000000000000000000000000000000..18926e333834f5c4fb544192c4bdaee46093502f --- /dev/null +++ b/dragonwell/sources.list @@ -0,0 +1,10 @@ +deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse +deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse +deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse +deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse +deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse +deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse +deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse +deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse +deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse +deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse