Commit Graph

22 Commits

Author SHA1 Message Date
boypt
1a6c26eeba refactor(docker): simplify images, move el8 to centos-stream, isolate el5, fix altarch/metalink 2026-08-20 16:09:50 +08:00
boypt
75c8793cb4 fix: revert unnecess pkg 2026-07-10 16:30:35 +08:00
boypt
4d8cac9a2d fix: docker detect openssl 2026-07-10 15:48:11 +08:00
boypt
8f963924f8 fix: only el5 install setarch 2026-07-09 15:11:43 +08:00
boypt
74407594eb fix: avoid action stragy 2026-07-09 15:07:49 +08:00
boypt
018d9130ab fix: krb5 in el5 hack 2026-07-09 13:48:41 +08:00
boypt
196031cca0 fix: support krb5 in M32=1 2026-07-09 13:14:52 +08:00
boypt
b2eaa692fa docker: centos 5 builder; fix CMD 2026-04-09 03:45:27 +00:00
boypt
52c6b3b925 env ALL to pullsrc.sh 2026-04-08 13:44:48 +08:00
boypt
3f4f5801f6 docker: reduce depens; el5 add m32 2026-04-08 05:42:06 +00:00
boypt
e276af1a2e fix: docker images 2026-04-07 16:18:46 +08:00
boypt
742cc513d8 fix: docker dep 2026-04-07 15:55:09 +08:00
boypt
65f81fe564 fix: docker images dep: make 2026-04-03 17:39:47 +08:00
boypt
0fea567df1 fix: docker image remove "Development Tools" 2026-04-03 17:21:32 +08:00
boypt
2bb638204a fix: docker pull src on runtime 2026-04-03 15:37:00 +08:00
boypt
7cd1132320 fix: docker images misc 2026-04-03 14:20:38 +08:00
boypt
78efbaea71 fix: docker image dependencies 2026-04-03 13:21:43 +08:00
boypt
e55d47b81f fix: openssl needs perl-Time-Piece to compile 2025-10-09 09:28:06 +08:00
ChowRex
eeacd61cba Add openssh-askpass package into Docker environment. (#36)
* Update script and intro an environment variable to using proxy for Github.

- Add `Dockerfile.rockylinux` to build Rocky Linux images
- Modify `pullsrc.sh`, add an environment variable to using proxy for Github.
- Modify `version.env`, sync environment variable.
- Modify `README.md`, sync doc.
- Modify `.github/workflows/build-images.yml`, sync Rocky Linux image.

* Update Dockerfile to enable build `openssh-askpass` package.

- Modify `Dockerfile.centos` / `Dockerfile.centos-stream` / `Dockerfile.rockylinux` to build `openssh-askpass` package.

* Update Dockerfile to fix lack requirement  `imake` package.

- Modify `Dockerfile.centos` / `Dockerfile.centos-stream` to fix lack requirement `imake` package.

* Update Dockerfile to fix yum plugin error.

Try to fix:
```
No such command: config-manager. Please use /usr/bin/yum --help
It could be a YUM plugin command, try: "yum install dnf-command(config-manager)"
```

- Modify `Dockerfile.centos` / `Dockerfile.centos-stream` to fix error.

* Update Dockerfile to fix CentOS Stream 9 yum plugin error.

Try to fix:
```
Error: No matching repo to modify: powertools.
```

- Modify `Dockerfile.centos-stream` to fix error.

P.S: In CentOS 8 (with or without Stream), the package `imake` is included by `powertools` repository, and in CentOS Stream 9, the package is included by `crb` repository.

* Update Dockerfile to fix CentOS Stream 9 yum can not install `imake` error.

Try to fix:
```
Error: Unable to find a match: imake
```

- Modify `Dockerfile.centos-stream` to fix error.

P.S: In CentOS 8 (with or without Stream), the package `imake` is included by `powertools` repository, and in CentOS Stream 9, the package is included by  ~~`crb`~~ `epel` repository.

* Update Dockerfile.centos-stream

Fix build error.
2025-02-20 16:17:40 +08:00
ChowRex
7c83502a8c Refactoring logic and intro Github Actions (#26)
* Refactoring logic

- Modify all dockerfile files, unified replacement logic
- Fix `perl` required error.
- Add ignore file
- Fix CentOS 5 support, by change mirror from
  `http://archive.kernel.org` to `http://linuxsoft.cern.ch`

* Update README.md

- Add a short usage for docker

* Create Github Actions

- Add `build-images.yml` to auto build docker images. Support: CentOS 7/6/5, CentOS Stream 8/9, Amazon Linux 1/2/2023.

- Add `create-amd64-release.yml` to auto create amd64 release files.

- Add `create-arm64-release.yml` to auto create arm64 release files.

- Reformat release comment

Features:

- Using batch build and batch compile

- Using latest action version
2024-07-23 14:08:11 +08:00
ChowRex
f0b2bf7905 Important Version Updates (#19)
* Important Version Updates
- Add dockerfile support for centos 8 series.
- Modify Dockerfile.centos to add CentOS 8 support and fix the problem of CentOS 5 series not being able to build.
- Modify modify_yum_source.sh to add CentOS 8 support and fix CentOS 5 series yum source problem.

* Update CentOS Stream support                                                                           INT ✘  base 
- Changed compile.sh to add support for CentOS Stream 8/9 series.
- Modified docker.README.md to add Stream series description.
- Modified Dockerfile.amazonlinux to add cleanup operations and reduce image size.
- Modify Dockerfile.centos, add cleanup operation, reduce image size
- Added Dockerfile.centos-stream to support Stream series build images.
- Added modify_dnf_source.pl to add Stream series yum source modification function.
- Modified README.md to add Stream series test pass information and correct formatting and word spelling errors.

---------

Co-authored-by: Rex Zhou <zhouruixi@goldwind.com>
2024-06-04 17:01:06 +08:00
BEN
fecceda7c4 merge pr with a lot fixes (#15)
* Add support for Amazon Linux and Docker (#13)

* Modify OpenSSL version to 3.0.8

Version `3.0.0` and `3.0.8` is recommanded by the official, which are FIPS validated. See more: [[ Downloads ] - /source/index.html](https://www.openssl.org/source/)

* Use OpenSSH 9.6p1 official file

Update the baseline file to 9.6p1
Add some comments

* Update README.md

Add a desc for CentOS 7 to install packages

* Update spec file
- Sync spec file to latest(9.6p1)

* Update requirement src
- Add Perl for CentOS 5

* Add support for Amazon Linux and Docker!
- Add support for Amazon Linux 1 / Amazon Linux 2 / Amazon Linux 2023
- Add Dockerfile for CentOS and Amazon Linux
- Fix compile.sh error for using CentOS 5

* only download perl5 when necessary

* only check perl 5 source on el5

* perl not need install in el5

* bump openssl verion

* add notes in pullsrc.sh when download fails

* fix: perl install inside build dir

---------

Co-authored-by: ChowRex <zrx879582094@gmail.com>
2024-02-26 15:51:18 +08:00