mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-23 20:18:13 +03:00
java16; revert some changes
This commit is contained in:
parent
e535ec2bfe
commit
3d41e1f6a7
@ -3,6 +3,7 @@
|
|||||||
* `september`
|
* `september`
|
||||||
* added [ArekSredzki/electron-release-server](https://github.com/ArekSredzki/electron-release-server/) support.
|
* added [ArekSredzki/electron-release-server](https://github.com/ArekSredzki/electron-release-server/) support.
|
||||||
* fully reworked `teamcity-agent` images.
|
* fully reworked `teamcity-agent` images.
|
||||||
|
* added `java 16` support to base images.
|
||||||
* `august`
|
* `august`
|
||||||
* splited `tc-agents` with `nodejs`
|
* splited `tc-agents` with `nodejs`
|
||||||
* fixed `PostgreSQL` images
|
* fixed `PostgreSQL` images
|
||||||
|
24
linux/epicmorg/devel/jdk16/Dockerfile
Normal file
24
linux/epicmorg/devel/jdk16/Dockerfile
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
FROM epicmorg/devel
|
||||||
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# installing java16
|
||||||
|
##################################################################
|
||||||
|
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
|
||||||
|
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot && \
|
||||||
|
mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \
|
||||||
|
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \
|
||||||
|
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib
|
||||||
|
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleaninig up
|
||||||
|
##################################################################
|
||||||
|
RUN apt clean -y && \
|
||||||
|
apt autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb
|
5
linux/epicmorg/devel/jdk16/Makefile
Normal file
5
linux/epicmorg/devel/jdk16/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
6
linux/epicmorg/devel/jdk16/docker-compose.yml
Normal file
6
linux/epicmorg/devel/jdk16/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/devel:jdk16"
|
||||||
|
build:
|
||||||
|
context: .
|
24
linux/epicmorg/edge/jdk16/Dockerfile
Normal file
24
linux/epicmorg/edge/jdk16/Dockerfile
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
FROM epicmorg/edge
|
||||||
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# installing java16
|
||||||
|
##################################################################
|
||||||
|
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
|
||||||
|
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot && \
|
||||||
|
mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \
|
||||||
|
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \
|
||||||
|
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib
|
||||||
|
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleaninig up
|
||||||
|
##################################################################
|
||||||
|
RUN apt clean -y && \
|
||||||
|
apt autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb
|
5
linux/epicmorg/edge/jdk16/Makefile
Normal file
5
linux/epicmorg/edge/jdk16/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
6
linux/epicmorg/edge/jdk16/docker-compose.yml
Normal file
6
linux/epicmorg/edge/jdk16/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/edge:jdk16"
|
||||||
|
build:
|
||||||
|
context: .
|
23
linux/epicmorg/prod/jdk16/Dockerfile
Normal file
23
linux/epicmorg/prod/jdk16/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
FROM epicmorg/prod
|
||||||
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# installing java16
|
||||||
|
##################################################################
|
||||||
|
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
|
||||||
|
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot && \
|
||||||
|
mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \
|
||||||
|
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \
|
||||||
|
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# cleaninig up
|
||||||
|
##################################################################
|
||||||
|
RUN apt clean -y && \
|
||||||
|
apt autoclean -y && \
|
||||||
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
|
rm -rfv /var/cache/apt/archives/*.deb
|
5
linux/epicmorg/prod/jdk16/Makefile
Normal file
5
linux/epicmorg/prod/jdk16/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
all: app
|
||||||
|
|
||||||
|
app:
|
||||||
|
docker-compose build --compress
|
||||||
|
docker-compose push
|
6
linux/epicmorg/prod/jdk16/docker-compose.yml
Normal file
6
linux/epicmorg/prod/jdk16/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/prod:jdk16"
|
||||||
|
build:
|
||||||
|
context: .
|
@ -1,2 +0,0 @@
|
|||||||
# Generated by /usr/bin/select-editor
|
|
||||||
SELECTED_EDITOR="/usr/bin/mcedit"
|
|
@ -15,8 +15,14 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
|
|||||||
##################################################################
|
##################################################################
|
||||||
# perforce client binary
|
# perforce client binary
|
||||||
##################################################################
|
##################################################################
|
||||||
ARG P4_VERSION=r21.1
|
ENV P4_VERSION=r21.1
|
||||||
ARG P4_DOWNLOAD_URL=http://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
ENV P4_DOWNLOAD_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# 7z official binary
|
||||||
|
##################################################################
|
||||||
|
ENV SZ_VERSION=7z2103
|
||||||
|
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# installing utils
|
# installing utils
|
||||||
@ -29,12 +35,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
aptitude \
|
aptitude \
|
||||||
bash \
|
bash \
|
||||||
binutils \
|
binutils \
|
||||||
|
bzip2 \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
cmatrix \
|
cmatrix \
|
||||||
cmatrix-xfont \
|
cmatrix-xfont \
|
||||||
console-cyrillic \
|
console-cyrillic \
|
||||||
cron \
|
cron \
|
||||||
curl \
|
curl \
|
||||||
|
clzip \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
fontconfig \
|
fontconfig \
|
||||||
@ -42,17 +50,24 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
gnupg \
|
gnupg \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
graphicsmagick \
|
graphicsmagick \
|
||||||
|
gzip \
|
||||||
htop \
|
htop \
|
||||||
iftop \
|
iftop \
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
jq \
|
jq \
|
||||||
kmod \
|
kmod \
|
||||||
|
libxml2-dev \
|
||||||
|
libxml2-utils \
|
||||||
|
lbzip2 \
|
||||||
libsvn-java \
|
libsvn-java \
|
||||||
libzip4 \
|
|
||||||
locales \
|
locales \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
lsof \
|
lsof \
|
||||||
lynx \
|
lynx \
|
||||||
|
lzma \
|
||||||
|
libzip4 \
|
||||||
|
lzip \
|
||||||
|
lzop \
|
||||||
mc \
|
mc \
|
||||||
mercurial \
|
mercurial \
|
||||||
nano \
|
nano \
|
||||||
@ -61,7 +76,12 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
openssl \
|
openssl \
|
||||||
perl \
|
perl \
|
||||||
procps \
|
procps \
|
||||||
|
pbzip2 \
|
||||||
|
plzip \
|
||||||
|
p7zip-full \
|
||||||
|
p7zip-rar \
|
||||||
rsync \
|
rsync \
|
||||||
|
rar \
|
||||||
screenfetch \
|
screenfetch \
|
||||||
smbclient \
|
smbclient \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
@ -73,18 +93,32 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
tree \
|
tree \
|
||||||
util-linux \
|
util-linux \
|
||||||
uuid-runtime \
|
uuid-runtime \
|
||||||
|
unrar \
|
||||||
|
xz-utils \
|
||||||
wget \
|
wget \
|
||||||
zip && \
|
zip
|
||||||
wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
|
|
||||||
chmod +x /usr/bin/p4 && \
|
|
||||||
openssl dhparam -out /etc/ssl/dhparam.pem 4096
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Post-cosmetics
|
# Install p4client
|
||||||
##################################################################
|
##################################################################
|
||||||
COPY ./.selected_editor /root/.selected_editor
|
RUN wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
|
||||||
COPY ./mc.patch /tmp/mc.patch
|
chmod +x /usr/bin/p4
|
||||||
#RUN patch /tmp/mc.patch /root/.config/mc/ini
|
|
||||||
|
##################################################################
|
||||||
|
# Install 7z official binary
|
||||||
|
##################################################################
|
||||||
|
RUN wget -nv --random-wait -c -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \
|
||||||
|
mkdir -p /tmp/7z && \
|
||||||
|
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
|
||||||
|
chmod +x /tmp/7z/7zz && \
|
||||||
|
mv -fv /tmp/7z/7zz /usr/bin/ && \
|
||||||
|
7zz | head -4 && \
|
||||||
|
7z | head -4
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Generate ssl key
|
||||||
|
##################################################################
|
||||||
|
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
@ -94,4 +128,5 @@ RUN apt purge policykit-1 -y && \
|
|||||||
apt autoclean -y && \
|
apt autoclean -y && \
|
||||||
rm -rfv /var/lib/apt/lists/* && \
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
rm -rfv /tmp/mc.patch && \
|
rm -rfv /tmp/mc.patch && \
|
||||||
rm -rfv /var/cache/apt/archives/*.deb
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
|
rm -rfv /tmp/7z
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
86,88c86
|
|
||||||
< skin=default
|
|
||||||
<
|
|
||||||
< filepos_max_saved_entries=1024
|
|
||||||
---
|
|
||||||
> skin=dark
|
|
||||||
109c107
|
|
||||||
< display_codepage=ASCII
|
|
||||||
---
|
|
||||||
> display_codepage=UTF-8
|
|
||||||
132c130
|
|
||||||
< navigate_with_arrows=false
|
|
||||||
---
|
|
||||||
> navigate_with_arrows=true
|
|
||||||
140a139,140
|
|
||||||
>
|
|
||||||
> simple_swap=false
|
|
Loading…
x
Reference in New Issue
Block a user