Skip to content

Commit

Permalink
astralinux 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
stamepicmorg committed Feb 13, 2024
1 parent bff0c13 commit 5d7dd2c
Show file tree
Hide file tree
Showing 20 changed files with 476 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/epicmorg.base.images.current.astra17.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: EpicMorg Astra 1.7 SE Images

on:
# push:
# branches:
# - 'master'
schedule:
- cron: '2 2 * * 1,3,5'

jobs:

build-10-images:
name: Build EpicMorg Astra 1.7 SE Images
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin

- name: Test Make
run: make

- name: "Build and Deploy Astra 1.7 SE slim Image:"
run: cd linux/ecosystem/epicmorg/astra/1.7-alse/slim && pwd && make build && make deploy

- name: "Build and Deploy Astra 1.7 SE main Image:"
run: cd linux/ecosystem/epicmorg/astra/1.7-alse/main && pwd && make build && make deploy

- name: "Build and Deploy Astra 1.7 SE develop Image:"
run: cd linux/ecosystem/epicmorg/astra/1.7-alse/develop && pwd && make build && make deploy

##################################################################################

- name: Cleanup
run: make docker-clean
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog
## 2024
* `feb`
* added `astralinux` `1.7` `se` base images - `slim`, `main` and `develop`.
* updated images: fixes of sources.list, java install logic, updated `python 3.12` iamges
* added `bitbucket`, `nodejs21`,`nextcloud 28`, `python 3.13` images
* added `pnpm` to `nodejs 12-21` images
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ ecosystem-debian-images:
make ecosystem-debian-bullseye-images
make ecosystem-debian-bookworm-images

ecosystem-astra-17se-images:
cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/slim && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/main && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/astra/1.7-alse/develop && pwd && make build && make deploy

ecosystem-debian-squeeze-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/slim && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/main && pwd && make build && make deploy
Expand Down Expand Up @@ -1325,7 +1330,8 @@ bundle-base-images:
@echo "======================================="
@echo "===== Building EpicMorg images ====="
@echo "======================================="
make advanced-pyhton-images
make ecosystem-astra-17se-images
# make advanced-pyhton-images
make ecosystem-debian-images

bundle-teamcity:
Expand Down
105 changes: 105 additions & 0 deletions linux/ecosystem/epicmorg/astra/1.7-alse/develop/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
FROM epicmorg/astralinux:1.7-main

ARG DEBIAN_FRONTEND=noninteractive

##################################################################
# update lists
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update

##################################################################
# installing utils
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get install -y --allow-unauthenticated \
at \
autoconf \
autoconf-archive \
automake \
autopkgtest \
autotools-dev \
build-essential \
cmake \
cmake-extras \
docker.io \
docker-compose \
devscripts \
dh-make \
dpkg-dev \
extra-cmake-modules \
fakeroot \
fuse3 \
g++ \
g++-multilib \
gcc \
gcc-multilib \
gdal-bin \
gdb \
gnu-standards \
googletest \
googletest-tools \
libgtest-dev \
golang \
golang-go \
krb5-user \
libavcodec-dev \
libavfilter-dev \
libavformat-dev \
libbz2-dev \
libc6-dev \
libcrypto++-dev \
libegl1-mesa-dev \
libfreetype6-dev \
libfuse3-3 \
libgbm-dev \
libgd-dev \
libgdal-dev \
libgeoip-dev \
libgeos-dev \
libgles2-mesa-dev \
libgtk-3-dev \
libhiredis-dev \
libkrb5-dev \
libldap2-dev \
liblua5.1-0-dev \
liblzma-dev \
libmaxminddb-dev \
libpam0g-dev \
libpcre3-dev \
libperl-dev \
libproj-dev \
libprotobuf-c-dev \
libsdl-image1.2-dev \
libsdl2-dev \
libsqlite3-dev \
libssl-dev \
libswscale-dev \
libtool \
libunwind-dev \
libvpx-dev \
libxkbcommon-dev \
libxml2-dev \
libxslt1-dev \
libzip-dev \
luajit \
make \
pkg-config \
protobuf-c-compiler \
python3-all-dev \
strace \
tcl \
uuid-dev \
yasm \
zlib1g \
zlib1g-dev

##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb
19 changes: 19 additions & 0 deletions linux/ecosystem/epicmorg/astra/1.7-alse/develop/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
all: app

app:
make build
make deploy
make clean

build:
docker-compose build --compress --parallel --progress plain

deploy:
docker-compose push

clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: '3'
services:
app:
image: "epicmorg/astralinux:1.7-develop"
build:
context: .
69 changes: 69 additions & 0 deletions linux/ecosystem/epicmorg/astra/1.7-alse/main/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
FROM epicmorg/astralinux:1.7-slim

ARG DEBIAN_FRONTEND=noninteractive

##################################################################
# update lists
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update

##################################################################
# installing utils
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get install -y --allow-unauthenticated \
acl \
bzip2 \
cifs-utils \
cron \
curl \
dos2unix \
fontconfig \
git \
gzip \
htop \
iftop \
iotop \
iputils-ping \
jq \
libxml2-utils \
libzip4 \
locales \
logrotate \
lsb-release \
lsof \
lzip \
lzma \
lzop \
mc \
nano \
nmap \
openssl \
p7zip-full \
p7zip-rar \
perl \
portmap \
procps \
rename \
rsync \
ssl-cert \
telnet \
tini \
tree \
unrar \
util-linux \
uuid-runtime \
wget \
xz-utils \
zip

##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb
19 changes: 19 additions & 0 deletions linux/ecosystem/epicmorg/astra/1.7-alse/main/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
all: app

app:
make build
make deploy
make clean

build:
docker-compose build --compress --parallel --progress plain

deploy:
docker-compose push

clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: '3'
services:
app:
image: "epicmorg/astralinux:1.7-main"
build:
context: .
75 changes: 75 additions & 0 deletions linux/ecosystem/epicmorg/astra/1.7-alse/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
FROM epicmorg/astralinux:1.7-rootfs
LABEL maintainer="EpicMorg DevTeam, [email protected]"
LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, [email protected]"
LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z"
LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker"
LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker"
LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg"
LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec"
LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2"
LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg"
LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6"
LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6"
LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB"
LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3"
LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE"
LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1"
ARG DEBIAN_FRONTEND=noninteractive

##################################################################
# prepare system
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done

##################################################################
# sources list
##################################################################
RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen

COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen
COPY usr/local/share/ca-certificates /usr/local/share/ca-certificates

RUN mkdir -p /etc/apt/keyrings
RUN apt-get update && \
apt-get dist-upgrade -y

##################################################################
# installing utils
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get install -y --allow-unauthenticated \
apt-transport-https \
apt-utils \
gnupg \
gnupg1 \
gnupg2 \
aptitude \
bash \
binutils \
ca-certificates \
locales \
software-properties-common \
sudo

RUN update-ca-certificates --fresh

##################################################################
# update locales
##################################################################
RUN locale-gen

##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb
19 changes: 19 additions & 0 deletions linux/ecosystem/epicmorg/astra/1.7-alse/slim/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
all: app

app:
make build
make deploy
make clean

build:
docker-compose build --compress --parallel --progress plain

deploy:
docker-compose push

clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
Loading

0 comments on commit 5d7dd2c

Please sign in to comment.